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=20896>. 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=20896 Build fails looking for javah.Main Summary: Build fails looking for javah.Main Product: Ant Version: 1.5.3 Platform: PC OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: Build Process AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The code [apache-ant-1.5.3-1/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java] instantiates a class "com.sun.tools.javah.Main" (line 350) with a String array as parameters... Using JDK 1.4.2 (see below), the com.sun.tools.javah.Main class does either A) not exist (doubtful), or B) not accept these parameters... I've done an unjarring of the JRE and a few other jars in the ${JAVA_HOME}/jre/lib directory, and have found nothing of this class... My java stats: $> java -version java version "1.4.2-beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19) Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode) $> The applicable build output: Compiling 164 source files to /home/me/source/ant/apache-ant-1.5.3-1/build/classes /home/me/source/ant/apache-ant-1.5.3-1/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java:350: cannot resolve symbol symbol : constructor Main (java.lang.String[]) location: class com.sun.tools.javah.Main com.sun.tools.javah.Main main = new com.sun.tools.javah.Main(cmd.getArguments()); ^ /home/me/source/ant/apache-ant-1.5.3-1/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java:351: cannot resolve symbol symbol : method run () location: class com.sun.tools.javah.Main main.run(); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 2 errors Any ideas? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]