Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Limiting "Find Resource" searching?
Limiting "Find Resource" searching? [message #149635] Mon, 24 April 2006 16:42 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.radiantenergy.org

Hi I am working on a large established project that has this type of
hierarchy:

/project
/build
/deploy
/src

When I do a "Find Resources" for a file called foo.xml the file is found
in all three directories, with the build directory selected by default.
Is there anyway to limit where the "Find Resources" call searches? I know
I should be able to just always move down and select the /src version of
the file I'm looking for, but in the heat of development that doesn't
always happen and then weird stuff starts happening as I end up working on
a copy that is in the build or deploy directory. I don't think I'm just
being lazy as this happens to all the other developers on the project as
well. One of them has given up using the find resource most of the time
and manually scrolls around the project to find what he wants. If anyone
knows how I can only have the stuff in /src show up that would be great.
Thanks!

-e
Re: Limiting "Find Resource" searching? [message #149662 is a reply to message #149635] Mon, 24 April 2006 17:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Sagefool wrote:
> Hi I am working on a large established project that has this type of
> hierarchy:
>
> /project
> /build
> /deploy
> /src
>
> When I do a "Find Resources" for a file called foo.xml the file is found
> in all three directories, with the build directory selected by default.

There is a check box at the bottom of the Open Resource (Ctrl+Shift+R)
dialog, "Show derived resources" - if it is unchecked, you should not
see resources that are "derived," meaning they are produced as the
result of the project build (eg, .class files, non-Java files that are
copied from your source tree into your build output location).

Hope this helps,
Eric
Re: Limiting "Find Resource" searching? [message #149670 is a reply to message #149662] Mon, 24 April 2006 18:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.radiantenergy.org

Ahh cool, that is helpful. I just had to go to the /build and /deploy
properties and mark them as derived and vola they stopped showing up in
the find resource. Thanks!
Re: Limiting "Find Resource" searching? [message #1829862 is a reply to message #149670] Mon, 13 July 2020 07:47 Go to previous message
Rahul Shah is currently offline Rahul ShahFriend
Messages: 1
Registered: July 2020
Junior Member
Excactly where we need to change these properties? (/build & /deploy)
Previous Topic:Eclipse 12 with JRE1.8.0_251
Next Topic:gerrit login - Authentication failed.
Goto Forum:
  


Current Time: Tue Aug 04 00:48:31 GMT 2020

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

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

Back to the top