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 8016 - Creating an Ant script from template immediately runs it
Summary: Creating an Ant script from template immediately runs it
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 7942 7991
Blocks:
  Show dependency tree
 
Reported: 2000-10-25 12:55 UTC by Jesse Glick
Modified: 2003-06-30 14:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-10-25 12:55:52 UTC
The default action for Ant script data nodes is to build them. After creating
from template, then, this default is run. Clearly that is not good behavior. The
file should be opened as text instead.
Comment 1 Jesse Glick 2000-11-05 16:12:59 UTC
Now fixed at least for the standard empty template. Could pretty easily be fixed
for all Ant-script templates; would need to copy trick from GroupShadow, i.e.
when data object is constructed and is a template, or when made a template, and
it has no iterator, set its iterator to an AntTemplateIterator.
Comment 2 Jesse Glick 2000-11-10 17:46:59 UTC
Fixed in trunk and release31.
Comment 3 Milan Kubec 2001-06-25 13:29:12 UTC
Verified in build 20010625
Comment 4 Quality Engineering 2003-06-30 14:46:34 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.