ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Ogle" <sean.o...@syslog.at>
Subject More problems with ant,jikes,Win2K
Date Fri, 09 Mar 2001 12:11:49 GMT
I need help still with running jikes using ant on Win2K

I get this error when I run my build.xml file. What is error 2?
I can run the command in a cmd.exe window with no problems and I checked to
make sure that
the command is getting the correct environment.

I have ant 1.3, jikes 1.12, as well as jdk 1.3.0_02.

H:\work\java\at\syslog\jzorro\build.xml:105: Error running jikes compiler
--- Nested Exception ---
java.io.IOException: CreateProcess: jikes -d H:\work\java\classes -classpath
H:\
work\java\classes;C:\jdk1.3.0_02\jre\lib\rt.jar;H:\work\java +E
H:\work\java\at\
syslog\JZorro.java error=2
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:66)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:551)
        at java.lang.Runtime.exec(Runtime.java:477)
        at
org.apache.tools.ant.taskdefs.Execute$CommandLauncher.exec(Execute.ja
va:447)
        at
org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execu
te.java:562)
        at
org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execu
te.java:587)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
        at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.execut
eExternalCompile(DefaultCompilerAdapter.java:329)
        at
org.apache.tools.ant.taskdefs.compilers.Jikes.execute(Jikes.java:201)

        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:461)
        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.taskdefs.Ant.execute(Ant.java:213)
        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.taskdefs.Ant.execute(Ant.java:213)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)

        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: 7 seconds


-----
Attached is the build file.

Clueless.

Sean

Mime
View raw message