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.
Here's the error: (looks like ANT 1.5 doesn't have this method) > > /* ANT 1.5 */ > public void setKeystore(final File keystore) { > this.keystore = keystore; > } > > /* ANT 1.4.1 */ > public void setKeystore(final String keystore) { > this.keystore = keystore; > } > > java.lang.NoSuchMethodError: org.apache.tools.ant.taskdefs.SignJar.setKeystore(Ljava/lang/String;)V > at org.netbeans.nbbuild.MakeNBM.execute(MakeNBM.java:464) > at org.apache.tools.ant.Task.perform(Task.java:317) > at org.apache.tools.ant.Target.execute(Target.java:309) > at org.apache.tools.ant.Target.performTasks(Target.java:334) > at org.apache.tools.ant.Project.executeTarget(Project.java:1306) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) > at org.apache.tools.ant.Task.perform(Task.java:317) > at org.apache.tools.ant.Target.execute(Target.java:309) > at org.apache.tools.ant.Target.performTasks(Target.java:334) > at org.apache.tools.ant.Project.executeTarget(Project.java:1306) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) > at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143) > at org.apache.tools.ant.Task.perform(Task.java:317) > at > org.apache.tools.ant.Target.execute(Target.java:309) > at org.apache.tools.ant.Target.performTasks(Target.java:334) > at org.apache.tools.ant.Project.executeTarget(Project.java:1306) > at org.apache.tools.ant.Project.executeTargets(Project.java:1250) > at org.apache.tools.ant.Main.runBuild(Main.java:610) > at org.apache.tools.ant.Main.start(Main.java:196) > at org.apache.tools.ant.Main.main(Main.java:235) > org.apache.tools.ant.taskdefs.SignJar.setKeystore(Ljava/lang/String;)V
I'll take care about it.
ANT 1.5 is not currently supported, but I'll add reflection to org.netbeans.nbbuild.MakeNBM to be prepared on switch to ANT 1.5
I added reflection for two methods - setStorekey and setJar, both have the same problem - prameter was changed from String to File :-(.
Michal please make sure Target Milestone is set when marking an issue FIXED - thanks.
Annoying that 3.4 cannot be built with 1.5, especially when a 1.5.1 upgrade module is available for the 3.4 IDE!
I know that this is annoying, but I don't think we can do anything with it. We can't change sources of already released product.
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be integrated into release341 one branch. The plan at http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be produced on Dec01. That did not happen due to a lot of outstanding not integrated candidates like this one. Would it be possible to spend few minutes by backporting this fix? Thank you in advance.
The fix has been backported to release341 branch.