Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 51148

Summary: Builder and Tool configs should allow variable substitution
Product: [Eclipse Project] Platform Reporter: Laura Werner <laura>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Laura Werner CLA 2004-02-03 20:30:29 EST
It would be nice if the configuration files written for External Tools Builders
and "shared" External Tool configurations allowed variable substitution.  Here's
the motivation, from a post to eclipse.platform:

 I have two projects that are essentially the same source code, but they're
checked out from different branches.  I have a bunch of builder and external
tool configurations for running the product and for preprocesing its source
code.  Right now, I mark the configurations as "shared" and save them to a
directory inside the project, which lets me check them in. Unfortunately,
though, the files contain the project name (e.g. "trunk" for my main-trunk
project and "release" for my release branch project), so I can't just check the
files in to one branch and out from another. 

It would be great if there were a way to substitute some variables like "current
project", "selected resource", etc. in these build config files.  That would
allow them to be generic enough to be shared across users and projects.
Comment 1 Darin Swanson CLA 2004-04-07 13:39:46 EDT
With the work that has been done in this area to remove fully qualified paths 
and the addition of the build_project variable from bug 52688 this bug should 
be resolved.

I am going to mark it as a duplicate of bug 52688.

*** This bug has been marked as a duplicate of 52688 ***