ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkat K" <venk...@vwebsol.com>
Subject RE: Jikes Compiler and IOException
Date Thu, 03 Aug 2000 19:50:49 GMT
Hello,

I got the latest Ant build and tried with the large files and it is working
fine. You are right about the createProcess issue. To get around the
argument length limit in createProcess, the new JavaC task uses a temporary
file mechanism.

Thanks and Best Regards,
Venkat.

-----Original Message-----
From: Robert Lucier [mailto:rlucier@collabria.com]
Sent: Thursday, August 03, 2000 1:21 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: Jikes Compiler and IOException


FYI, I've had similar problems with using ant w/jikes to build a project of
~400 classes. I'm wondering if it could be due to a argument length limit in
createProcess - since every single .java file is passed to jikes as an
argument.

-----Original Message-----
From: Venkat K [mailto:venkatk@vwebsol.com]
Sent: Thursday, August 03, 2000 9:19 AM
To: Jakarta-Ant-user
Subject: Re: Jikes Compiler and IOException


Hello,

I am a newbie to Ant. when I use the jikes compiler in the project, I get
the following exception thrown. I am attempting to compile a large project
with approximately 2000 source files. However, using the classic compiler
doesn't throw the same exception but displayed some other compile errors in
the source.

I have also attached the build xml as well as the batch file I am using to
run the Ant. The jikes compiler directory is already in the path. I have
tested running Ant with another build file with only one source and the
build is successful.

Any ideas is kindly appreciated.

Thanks and Best Regards,
Venkat K.

balibuild.xml:38: Error running Jikes compiler
java.io.IOException: CreateProcess: jikes -Xstdout -d
D:\BaliSystem\Java\newclasses -classpath
D:\BaliSystem\Java\newclasses;D:\BaliSystem\Java;D:\jbuilder35\jdk1.2.2\jre\
lib\rt.jar;D:\BaliSystem\Java
\3partylibs\combined_support_jars.jar;D:\j2sdkee1.2\lib\j2ee.jar;D:\Jbuilder
35\lib\dx3.1.jar;D:\java3party\jakarta-ant\lib\ant.jar;D:\java3party\jakarta
-ant\lib\jaxp.jar;D:\java3party\jakarta-ant\lib\
parser.jar;D:\jbuilder35\jdk1.2.2\lib\tools.jar;D:\BaliSystem\Java\sources -
g -O
D:\BaliSystem\Java\sources\bali\app\common\dao\base\AccessProfileAWIDAOBase.
java D:\BaliSystem\Java\sources\bali\app\co
mmon\dao\base\AccessProfileAWIPK.java
D:\BaliSystem\Java\sources\bali\app\common\dao\base\AccessProfileDAOBase.jav
a
D:\BaliSystem\Java\sources\bali\app\common\dao\base\AccessProfileDetailDAOBa
se.java
D:\BaliSystem\Java\sources\bali\app\common\dao\base\AccessProfileDetailPK.ja
va
D:\BaliSystem\Java\sources\bali\app\common\dao\base\AccessProfileLSTDAOBase.
java D:\BaliSystem\Java\sources\bali\app\comm
on\dao\base\AccessProfileLSTPK.java D:\BaliSy-++
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:64)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:272)
        at java.lang.Runtime.exec(Runtime.java:219)
        at org.apache.tools.ant.taskdefs.Jikes.compile(Jikes.java:40)
        at
org.apache.tools.ant.taskdefs.Javac.doJikesCompile(Javac.java:757)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:299)
        at org.apache.tools.ant.Target.execute(Target.java:132)
        at org.apache.tools.ant.Project.runTarget(Project.java:717)
        at org.apache.tools.ant.Project.executeTarget(Project.java:448)
        at org.apache.tools.ant.Project.executeTargets(Project.java:422)
        at org.apache.tools.ant.Main.runBuild(Main.java:279)
        at org.apache.tools.ant.Main.main(Main.java:107)

Total time: 5 seconds


Mime
View raw message