This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 20203 - Run target action in context menu in Ant text editor
Summary: Run target action in context menu in Ant text editor
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 18750 33980 60274
Blocks:
  Show dependency tree
 
Reported: 2002-02-06 14:05 UTC by Milan Kubec
Modified: 2005-09-05 09:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Current attempt (23.08 KB, patch)
2005-07-21 16:53 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2002-02-06 14:05:38 UTC
Action "Run Target" could be also accessible in pop-up menu in editor, because
sometimes searching for script node in Explorer is difficult and time consuming
if want to execute just one target.
Comment 1 Jesse Glick 2002-02-07 13:22:10 UTC
Maybe, but this will depend completely on how the Ant XML support is
reimplemented to use the XML modules, and thus what editor kit it uses.

Currently also not reasonable due to the way MIME types are handled in
the editor - Ant scripts use text/xml and thus the editor is generic.
If the editor recognized text/x-ant+xml then it would be possible to
customize the action list for this type.
Comment 2 Milan Kubec 2003-07-09 16:37:59 UTC
Please re-evaluate. Thanks.
Comment 3 Jesse Glick 2003-07-09 16:52:33 UTC
I tried to make a patch for this already; see issue #33980. But due to
API problems in the editor, it cannot work currently.
Comment 4 Jesse Glick 2005-04-05 19:53:28 UTC
A trick that might make it work was suggested in issue #33980.
Comment 5 Jesse Glick 2005-07-21 14:23:21 UTC
Hopefully for 4.2.
Comment 6 Jesse Glick 2005-07-21 16:53:19 UTC
Created attachment 23220 [details]
Current attempt
Comment 7 Jesse Glick 2005-07-26 22:49:28 UTC
committed   * Up-To-Date  1.79        ant/manifest.mf
committed   * Up-To-Date  1.19        ant/nbproject/project.xml
committed   * Up-To-Date  1.6        
ant/src/org/apache/tools/ant/module/loader/AntProjectDataEditor.java
committed   * Up-To-Date  1.25       
ant/src/org/apache/tools/ant/module/loader/AntProjectDataLoader.java
committed   * Up-To-Date  1.15       
ant/src/org/apache/tools/ant/module/loader/AntProjectDataObject.java
committed   * Up-To-Date  1.35       
ant/src/org/apache/tools/ant/module/resources/AntModuleLayer.xml
committed   * Up-To-Date  1.109       ide/golden/deps.txt