|
Re: How do I exclude folders from Eclipse resources [message #242149 is a reply to message #242138] |
Wed, 05 December 2007 06:10 |
Eclipse User |
|
|
|
Originally posted by: ranimg.gmail.com
Hello Alex,
For this you have to create working set.
Select on the reource which you dont wanna perform search operation.
Go to "Search" menu, choose "Text" and you will get a "Select Working set"
window and choose option "No working set" and now Click "New", select
"Resource" and now
choose a resource folder - eg "target" under a project, give a name to the
working set and say finish.
Testing:
Now do a search for a file that is found under "target" and check the
search result. It would not have displayed the searched item thats under
target.
this is because we have selected "No working set".
Now just to verify choose "Selected working set" and test it.
Hope this helps you.
Regards
rani
|
|
|
Re: How do I exclude folders from Eclipse resources [message #242177 is a reply to message #242138] |
Wed, 05 December 2007 14:46 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Alex wrote:
> How can I exclude certain folders from an Eclipse project? For example,
> I'd like to exclude the 'target' directory that maven creates from my
> eclipse project so that my searches will not search files under that
> directory.
> Again... this was very intuitive in IntelliJ IDEA under the project src
> properties dialog. I can't find any equivalent behavior in Eclipse.
> Any help would be greatly appreciated!
It's not clear to me what kind of directory the "target" one is, but if
it is part of your source tree you can exclude it in the Java Build Path
section of the project properties (the Source tab). Select the source
location, expand it, and then select the Excluded node and hit the Edit
button.
Hope this helps,
Eric
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04425 seconds