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.
Summary: | <antversion> not properly declared | ||
---|---|---|---|
Product: | java | Reporter: | kellyohair <kellyohair> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 181262 |
Description
kellyohair
2011-06-07 16:36:25 UTC
From time to time we use new features available in the bundled Ant release. This is not a bug. However, j2seproject's apparently are using a 1.8.0+ feature now, so the fix of bug #181262 was incomplete: <antversion atleast="1.7.1"/> should be <antversion atleast="1.8.0"/> (I suppose), which would print a more polite message when run on 1.7.1. Leaving open for that. (In reply to comment #0) > modify the horrific ant logic from NetBeans > (build-impl.xml) and live with constantly editing that complicated file Never edit build-impl.xml. You can override specific targets in build.xml, in this case just -init-macrodef-copylibs. > just abandon all use of the NetBeans ant support logic and write my own ant > script Using your own Ant script may be best if you have specialized needs, such as being required to use an obsolete Ant release for some reason. Or if you have a particular snapshot of the build scripts you are satisfied with, you can decide to forgo future updates and bug fixes; just revert sources to the last known good state, and delete genfiles.properties. Or use Maven, in which case there is no need for any IDE-generated scripts to begin with. Fixed jet-main 551594c13c85 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/551594c13c85 User: Tomas Zezula <tzezula@netbeans.org> Log: #199242:<antversion> not properly declared |