ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Noel" <n...@nortelnetworks.com>
Subject Javadoc IOException
Date Fri, 22 Jun 2001 00:31:16 GMT
I've been getting an IOException being thrown by the javadoc task. I've
run the same script on three different hosts, only one succeeded.

My guest is that I'm missing some environment setup, e.g. PATH.

Any help would be greatly appreciated

Thanks

Christian Noel

++++++++++++++++++++++++++++++++++++++++++++++
Test information
++++++++++++++++++++++++++++++++++++++++++++++

First host: PC, WinNT, JDK1.3, ANT1.3,
    <failed with IOException>
Second host: Solaris, JDK1.3, ANT1.3,
    <failed with IOException while doing the Runtime exec>
Third host: PC, WinNt, JDK1.3, Ant version packaged with Netbeans 3.2,
    didn't failed.

The target code is:
    <target depends="init, clean" name="CreateJavadoc">
        <javadoc
            sourcepath="${SRC_DIR}"
            destdir="${DELIVERY_DIR}/doc"
            packagenames="com.*"
            author="true"
            version="true"
            use="true"
            windowtitle="Test API"
        />
    </target>


The exception is:
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:66) // on
Unix the equivalent call was made
        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(Exec
ute.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)


Mime
View raw message