ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20896] New: - Build fails looking for javah.Main
Date Thu, 19 Jun 2003 02:23:02 GMT
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: dev@ant.apache.org
        ReportedBy: holtje@freeside.dnsalias.org


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message