DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23726>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23726 Ant 1.6beta breaks the javah task with Java 1.4.2 Summary: Ant 1.6beta breaks the javah task with Java 1.4.2 Product: Ant Version: 1.6Beta Platform: PC OS/Version: Windows XP Status: NEW Severity: Blocker Priority: Other Component: Build Process AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I use an ant makefile to compile a set of classes. Everything compiles but the javah line breaks the code with Java 1.4.2. The Java 1.4.1 works fine. This bug has been flagged as solved in 1.5.4 but I still have the error message as well as with the 1.6 beta version. Here is the excerpt that breaks the ant compile: <target name="header" depends="compile"> <javah classpath="${outputDir}" destdir="${cSrcDir}" force="yes"> <class name="se.lth.cs.carsim.LinkGrammarAPI" /> </javah> </target> ClassArgument.name=se.lth.cs.carsim.LinkGrammarAPI java.lang.NoSuchMethodError: com.sun.tools.javah.Main.<init> ([Ljava/lang/String;)V at org.apache.tools.ant.taskdefs.optional.Javah.doClassicCompile (Javah.java:348) at org.apache.tools.ant.taskdefs.optional.Javah.execute(Javah.java:318) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) 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.module.run.TargetExecutor.run (TargetExecutor.java:331) at org.netbeans.core.execution.RunClassThread.run (RunClassThread.java:118) BUILD FAILED --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]