Bug 27327 - Cannot "activate" dependent/execution order target
Summary: Cannot "activate" dependent/execution order target
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-11-28 10:28 EST by Darin Wright CLA
Modified: 2003-01-29 15:53 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-11-28 10:28:41 EST
It seems that if we are going to display dependent targets, and execution order 
of targets, we should also be able to select and "activate" those targets. When 
I select a target in the dependency list, the "activate" action is disabled.
Comment 1 Jared Burns CLA 2003-01-10 11:30:25 EST
The implementation detail behind this is that the leaf nodes of the tree
aren't the same kinds of objects that appear under project nodes. The objects
in the tree look like so:

RootNode (not added to the view)
  ProjectNode
    TargetNode
      DependencyNode
        String
        String
      ExecutionPathNode
        String
        String

If we want to be able to activate targets based on those Strings, we'd either
need to parse the target name out of the string and look through the
TargetNodes in the ProjectNode for a target with a matching name or we'd need
to change the code to include TargetNode objects at the leaf of the tree
which wouldn't contain children (to avoid infinite recursion). Both of these
options are doable.
Comment 2 Jared Burns CLA 2003-01-29 15:53:10 EST
This bug was fixed by the fix to Bug 29820.