Bug 125311 - Allow to add resources via variable to resource sets
Summary: Allow to add resources via variable to resource sets
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 06:11 EST by Joachim Hagger CLA
Modified: 2006-02-07 03:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Hagger CLA 2006-01-26 06:11:28 EST
When defining a Java build path I'm able to add libraries referenced by a variable.
But: A resource working set can only contain (physical) resources in the descending path of any project. It would be nice to be able to add resources also referenced by a path containing a variable.

Our use case:
We have an external builder that should run during auto-builds based on changes on resources referenced by a variable. We would now like to define in the build options in "Specify working set of relevant resources" those variable resources. The current work around is to run this builder "after a clean" and force the developer to make a "clean project" when those libraries change.

(I'm not aware of other implications regarding libraries referenced by variables, e.g. a.) how changes to them are currently detected and resource deltas are created and b.) whether a "refresh on project" also detects changes to variable resources.)
Comment 1 Philipe Mulet CLA 2006-02-03 04:24:09 EST
Can you create a folder linked to the external location ? This should get you what you need (when creating a folder, see in advanced section for associating it with a custom location).
Comment 2 Joachim Hagger CLA 2006-02-07 03:32:32 EST
That might be in fact a possible workaround.

What I don't like with it is that the linked folder is only stored in the workspace and does not go into CVS - compared with the resource working set defined as build trigger set in the configuration of the external builder.