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.
nbbuild currently does not build using the (as of this writing forthcoming) Ant 1.9.0, due to the introduction of generic signatures.
Created attachment 132231 [details] Proposed patch Note that in some cases Project.getProperties is cast to Map<String,Object>, which is a no-op when compiled Ant 1.9.0 but is necessary to avoid a hard error (rather than merely an unchecked warning) when compiled against Ant 1.8.4. E.g. for (Map.Entry<String,Object> entry : ((Map<String,Object>) p.getProperties()) {…} Alternate style is Map<String,Object> props = p.getProperties(); // ignore unchecked warning in 1.8.4 for (Map.Entry<String,Object> entry : props) {…} though this still sort of needs an inlining when support for compiling against 1.8.4 is dropped.
Created attachment 132234 [details] Revised patch Fixes compilation of javawebstart module. Now builds cluster.config=stableuc.
1.9.0 now released and bundled with NB; do you plan to apply this patch?
Let's apply the patch. Assuming older 1.8.4 can still be used to build NB codebase...?
Yes, the intention was that you could still use 1.8.4 to build if you preferred (though I have not rechecked this since submitting). BTW now that JDK 7 is needed to run builds, nbbuild/antsrc gets a bunch of rawtypes warnings.
Changes have been applied. http://hg.netbeans.org/core-main/rev/2f69633a5158
Thanks!
just for the record - http://hg.netbeans.org/core-main/rev/583072de8eb9