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 34525 - Revised template for Sample Ant Project
Summary: Revised template for Sample Ant Project
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2003-06-22 13:00 UTC by vbrabant
Modified: 2003-12-11 14:18 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
the new proposed template (2.83 KB, text/xml)
2003-06-22 13:01 UTC, vbrabant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vbrabant 2003-06-22 13:00:17 UTC
The template used to have a Sample Ant Project is
not usable like that.
So my proposal is to replace it by a reworked
template, permetting to click on run without
having nothing to change.

And, if any, the user can modify it.
Comment 1 vbrabant 2003-06-22 13:01:47 UTC
Created attachment 10762 [details]
the new proposed template
Comment 2 Jesse Glick 2003-06-23 15:21:11 UTC
I would make some stylistic changes:

- I think e.g. ${class.dir} is preferred in the Ant world to ${classDir}

- ${projectName}.jar should maybe be its own var

- should use only '/' and not '\' for paths

- should avoid uppercase letters in paths such as "Doc"
Comment 3 vbrabant 2003-07-12 17:03:26 UTC
Please, do it. No problem for me
Comment 4 vbrabant 2003-11-08 22:10:23 UTC
Any news ?
Is it checked in somewhere ?
If no, what's the reason ?
Do you need more info ?

Vincent
Comment 5 vbrabant 2003-12-02 16:01:04 UTC
Why a so simple fix than a template is not yet commited in the trunk
after 5 months now ?

Please give me rights to commit it myself then.

Thanks a lot.

Vincent
Comment 6 Jesse Glick 2003-12-02 16:37:39 UTC
I can do it for the next release.
Comment 7 Jesse Glick 2003-12-02 20:41:53 UTC
Had to make a number changes to the submitted script - the comments
listed before, plus various Ant usage corrections, fixes to format the
XML in such a way that it will not be reformatted by using the
Explorer structure manipulation, etc.

ant/src/org/apache/tools/ant/module/resources/SampleProject.xml_ 1.11