Skip to main content



      Home
Home » Newcomers » Newcomers » How to ignore directories under project
How to ignore directories under project [message #254465] Mon, 21 April 2008 15:03 Go to next message
Eclipse UserFriend
Hi,

Can anyone tell me how I can configure my eclipse projects to ignore
resources under a certain directory under my project's directory.

Specifically, I want to ignore everything under the 'target' directory
created when I do a maven build. It's inconvenient to have to sift through
all these resources for search results etc...

Thanks,

Alex
Re: How to ignore directories under project [message #254473 is a reply to message #254465] Mon, 21 April 2008 17:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

"AlexANDER WORDEN" <alexworden@gmail.com> wrote in message
news:9daddd0c51075a647a15e33bb3b4800f$1@www.eclipse.org...
> Hi,
>
> Can anyone tell me how I can configure my eclipse projects to ignore
> resources under a certain directory under my project's directory.
>
> Specifically, I want to ignore everything under the 'target' directory
> created when I do a maven build. It's inconvenient to have to sift through
> all these resources for search results etc...
>
> Thanks,
>
> Alex
>
>
>
In a Java project, you can Include/Exclude resources on Source folders from
the Java Build Path->Source tab. Select the source folder and click the
edit button.
Re: How to ignore directories under project [message #254558 is a reply to message #254465] Tue, 22 April 2008 10:24 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

AlexANDER WORDEN wrote:
> Hi,
>
> Can anyone tell me how I can configure my eclipse projects to ignore
> resources under a certain directory under my project's directory.
> Specifically, I want to ignore everything under the 'target' directory
> created when I do a maven build. It's inconvenient to have to sift
> through all these resources for search results etc...

If it were part of your source tree it would be easy to exclude it (as
Dave already pointed out), but if you just want to completely ignore a
directory in all parts of the Eclipse UI you'll have to define a Working
Set that excludes that directory and then set up your UI to use the
Working Set.
Search the Eclipse Help for "working sets" (no quotes) and you'll find
the details.

Hope this helps,
Eric
Previous Topic:Open .ini files with eclipse / PHPeclipse
Next Topic:Is there really no good JSP editor for Eclipse?!?
Goto Forum:
  


Current Time: Tue May 13 06:52:49 EDT 2025

Powered by FUDForum. Page generated in 0.10800 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top