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.
Ant 1.7.1 has been released and we should begin using it for builds. Among changes in http://www.apache.org/dist/ant/RELEASE-NOTES-1.7.1.html one of note is "Regression: ant.version was not passed down in <ant>, <subant>. This worked in Ant 1.6.5, but not in 1.7.0. ant.core.lib (added in 1.7.0) was also not being propagated. Bugzilla bug 42263" There are a few places in our build scripts where we call <ant ...> <property name="ant.core.lib" value="${ant.core.lib}"/> </ant> This workaround (the added <property/>) can be removed once we have switched over build systems to use 1.7.1. Also probably useful for our builders, which can generate multi-megabyte log files: "A new logger, BigProjectLogger, lists the project name with every target" There may also be uses for "<fileset> has a new attribute - errorOnMissingDir. Bugzilla 11270." (I just ran into the lack of this feature in 1.7.0 a couple of days ago, in the build harness.)
Dev production builds are uses Ant 1.7.1, now
Need to make sure all builder machines are using 1.7.1. I can do deadlock since I have a shell account, but I cannot do konik, and there are probably others I do not know about. Cannot be considered FIXED until nbbuild/build.xml specifies <antversion atleast="1.7.1"/> ^ meaning that we really can use 1.7.1 features safely.
Production builds are apparently still using 1.7.0. I pushed core-main #7c45ed7f2e72 so the build will fail with a clean error message if you try to use Ant < 1.7.1. ant.core.lib, erroronmissingdir, and BigProjectLogger should still be used before this can be considered fully FIXED, but those would be P3 I think.
Seems production builder is now using 1.7.1, good. Assigning back to myself for miscellaneous items.
Integrated into 'main-golden', will be available in build *200811041401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7c45ed7f2e72 User: Jesse Glick <jglick@netbeans.org> Log: #139448: forcing use of Ant 1.7.1.
It's enforced now. So I'd say we may close this issue.
No, as I said there are various aspects of 1.7.1 which I want to take advantage of.
BigProjectLogger is useless: https://issues.apache.org/bugzilla/show_bug.cgi?id=46236 Otherwise, can use new features. core-main #96d6a939afd9
Integrated into 'main-golden', will be available in build *200811191401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/96d6a939afd9 User: Jesse Glick <jglick@netbeans.org> Log: #139448: take advantage of Ant 1.7.1 enhancements.