ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Slade" <psl...@globusandcosmos.com>
Subject Problem with javadoc
Date Tue, 17 Jul 2001 20:52:14 GMT
 
ant -version returns: Ant version 1.3 compiled on March 2 2001
 
jdk is 1.3.1
 
OS is Redhat linux 7.0
 
When I try to execute the <javadoc ..> tag I get the following output.
If I execute the javadoc command ant generated by looking at the
-verbose/-debug on the command line then it works ok. 
 

Javadoc failed: java.io.IOException: javadoc: cannot
execute<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />

--- Nested Exception ---

java.io.IOException: javadoc: cannot execute

            at java.lang.UNIXProcess.forkAndExec(Native Method)

            at java.lang.UNIXProcess.<init>(UNIXProcess.java:139)

            at java.lang.Runtime.execInternal(Native Method)

            at java.lang.Runtime.exec(Runtime.java:551)

            at java.lang.reflect.Method.invoke(Native Method)

            at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute
.java:509)

            at
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)

            at
org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:763)

            at org.apache.tools.ant.Target.execute(Target.java:153)

            at org.apache.tools.ant.Project.runTarget(Project.java:898)

            at
org.apache.tools.ant.Project.executeTarget(Project.java:536)

            at
org.apache.tools.ant.Project.executeTargets(Project.java:510)

            at org.apache.tools.ant.Main.runBuild(Main.java:421)

            at org.apache.tools.ant.Main.main(Main.java:149)

 

Total time: 1 second
 
Any ideas how I fix this?
 
Thanks in advance.
 
Pete.

Mime
View raw message