Bug 15405 - Make all ANT configuration defined at config level
Summary: Make all ANT configuration defined at config level
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
: 25453 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-07 09:03 EDT by David Bailey CLA
Modified: 2002-12-06 10:36 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Bailey CLA 2002-05-07 09:03:45 EDT
This request is related to bug 13921.  We have multiple different 'projects' in 
our CVS repository, each of which uses different settings (Values for 
${PROPERTIES}, CLASSPATH settings, etc.) for running ANT.  Bug 13921 requests 
that it be possible to designate a set of ${PROPERTIES} for running ANT on a 
per-project basis.  This would relieve the end user of the necessity of having 
to key the ${PROPERTIES} definitions into the ANT Wizards for every single 
build.xml in a project.

In a similar way, Eclipse 2.0 currently has ANT configuration settings for 
CLASSPATH, Tasks and Types set globally.  However, this is a pain, because 
these settings are more properly broken down to project-level granularity.  The 
CLASSPATH I need to build project A might be different from the CLASSPATH I 
need to build project B.

In sum, I would request that the configuration settings for ANT be (1) Made 
richer (defining per-project ${PROPERTIES}, etc.) and (2) Moved to the 
individual project Properties context menu, rather than appearing in the 
global 'Window->Preferences' menu.
Comment 1 Rodrigo Peretti CLA 2002-05-22 14:56:58 EDT
Not planned for 2.0. Defer.
Comment 2 DJ Houghton CLA 2002-09-10 16:53:30 EDT
Reopening for consideration.
Related to bug 13921.
Comment 3 Darin Swanson CLA 2002-11-05 11:25:48 EST
*** Bug 25453 has been marked as a duplicate of this bug. ***
Comment 4 Darin Wright CLA 2002-11-15 10:07:13 EST
The plan for 2.1 is to use launch configurations to configure ant scripts. This 
way you get configurability per configuration (and if you want, more than one 
configuration per script - i.e. N configs per script is possible). However, we 
need to the classpath properties to the configs.
Comment 5 Darin Swanson CLA 2002-12-05 20:06:52 EST
Classpath and properties can be defined per launch configuration or the launch 
configuration can use the global preferences.
Comment 6 Darin Swanson CLA 2002-12-05 20:07:24 EST
Please verify (DarinW).
Comment 7 Darin Wright CLA 2002-12-06 10:36:42 EST
Verified.