ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Faith <fa...@runtime-collective.com>
Subject Javadoc jvm forking
Date Fri, 22 Jun 2001 11:07:15 GMT
Dear all,

help!

I'm trying to produce javadoc with ant, but the JVM falls over whenever it
tries to fork a new process:

     build.xml:157: Javadoc failed: java.io.IOException: javadoc: cannot
     execute
     --- Nested Exception ---
     java.io.IOException: javadoc: cannot execute
      at java.lang.UNIXProcess.forkAndExec(Native Method)
      at java.lang.UNIXProcess.<init>(UNIXProcess.java:137)
      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)

The build.xml looks like this:

     <target name="javadoc" depends="prepare">

          <javadoc packagenames="com.RuntimeCollective.project.*"
              sourcePath="src"
              destdir="${javadoc.faith}"/>

     </target>

Any ideas?

Joe Faith

Runtime Collective, Ltd
T: (+44) 01273 234294


Mime
View raw message