Bug 27540 - Run Ant vs. Ant View
Summary: Run Ant vs. Ant View
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-12-02 17:10 EST by Darin Wright CLA
Modified: 2003-01-08 21:01 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 Darin Wright CLA 2002-12-02 17:10:07 EST
It is unclear to the user what the connection is between using the "Run Ant" 
actions in the navigator, and running a script from the Ant view. In fact, 
there is no correlation.

For example, if I have a config setup for a script that performs a refresh when 
run. However, when I add that script to the ant view and run it, the refresh 
does not happen.

I beleive there would be a better user experience if we actually used the same 
launch config as the starting point (but allowed for dynamic target selection). 
Thus, when the user runs a script/target from the ant view, the starting point 
of the run is that of any existing launch config (i.e. create a working copy 
from the persisted config). Then, we set targets to be the selected targets, 
and run.

As well, the user should be able to modify properties of the script from the 
ant view, via a "properties" pop-up on the script. This would open the launch 
config properties dialog on the associated config (creating one if none).
Comment 1 Darin Wright CLA 2002-12-02 17:10:34 EST
Assigning to Jared for comment.
Comment 2 Jared Burns CLA 2002-12-03 10:55:58 EST
I'd prefer to leave it as it is for now. If we can get a good Ant editor and
an Outliner, we might not even want to keep the Ant View.
Comment 3 Darin Wright CLA 2002-12-03 12:38:51 EST
The Ant view will remain even with an Ant editor - it provides convenient 
access to more than on ant script. So we will need to address this issue either 
way.

As implementers, we understand that the navigator actions run launch configs, 
and the ant view actions create/run temporary configs. However, users do not 
understand this concept. Running a script from the nvaigator, ant view, or 
eventually editor, needs to have some common base.
Comment 4 Jared Burns CLA 2003-01-07 15:36:26 EST
I've switched the Ant view's actions over to using the AntLaunchShortcut.
Running from the Ant view now uses your configurations just like running from
the Navigator or the Run menu. The only difference is that the targets
specified in the config are overridden by the targets selected in the view.

Please verify.
Comment 5 Darin Wright CLA 2003-01-08 21:01:17 EST
I verify that it works (actually quite nice). The only issue I see is that when 
there is more than one config for the script, the user has to choose which 
config to base the run on, which is a little disorienting. However, if a user 
works primarily in "Ant View" mode, then this will likely not happen (i.e. 
there will only be one config).