Bug 6395 - Run Ant dialog ignores Ant's available targets dependencies
Summary: Run Ant dialog ignores Ant's available targets dependencies
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P4 minor (vote)
Target Milestone: 2.0 M6   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2001-11-28 15:27 EST by Alexander Demenchuk CLA
Modified: 2006-11-27 06:23 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Demenchuk CLA 2001-11-28 15:27:07 EST
Selecting a target that depends on another target should disable selection of 
the latter - it will be run by ant anyhow. Currently it's possible to select 
them both, and as a result Ant runs the "parent" target twice.

P.S.: this may become irrelevant if Ant targets are avaiable via project's 
menu, so one always able to select only one at a time.
Comment 1 John Arthorne CLA 2001-12-14 11:50:32 EST
Is it possible that this is actually a feature rather than a bug?  If you're 
running several ant tasks together, might it be useful to have a certain task 
run more than once?
Comment 2 Alexander Demenchuk CLA 2001-12-14 14:36:54 EST
Though I personally cannot see any use for such a "feature", it still may be 
good for someone. IMHO, that is far from the common case, so if we consider 
this a _feature_ than (IMHO again) UI should provide means to explicitly 
request second path over "parent" target (I do not know how - Ctrl+Click or 
something). Currently, we have no simple way to select one of _alternative_ 
targets - you must deselect what you have run before first. And this is an 
inconvenience for most/majority/typical uses. IMHO :-)
Comment 3 Rodrigo Peretti CLA 2002-05-19 15:36:14 EDT
This is the same behaviour of Ant running outside Eclipse (at least Ant 1.4.1).
Closing.