ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Donahue <d...@kana.com>
Subject a couple issues with large numbers of files
Date Mon, 14 Aug 2000 16:39:52 GMT
I am running ant using jikes against a large file tree, and I get an
exception (details below) that looks like there is a problem forking off the
jikes process in Windows NT when command-line program to be executed is a
large number of characters.  

Has anyone tried running jikes against a large (> 500 files) file tree on
Windows NT?  I tried using javac, but it was slow and gobbled up 70MB of
memory.

Thanks for the help,

Chris Donahue

  
ERROR DETAILS BELOW
-------------------
C:\jakarta-ant\bin>ant -buildfile e:\sourcesafe\dev\trango\antbuild.xml
-Dbuild.compiler=jikes compile
Buildfile: e:\sourcesafe\dev\trango\antbuild.xml

init:

compile:
    [javac] Compiling 1417 source files to E:\sourcesafe\dev\trango\classes

BUILD FAILED

e:\sourcesafe\dev\trango\antbuild.xml:64: Error running Jikes compiler
java.io.IOException: CreateProcess: jikes -Xstdout -d
E:\sourcesafe\dev\trango\classes -classpath
"E:\sourcesafe\dev\trango\classes;E:\jdk1.3\jre\lib\rt.jar;E:\sourcesafe\dev
\trango\classes\weblogic.zip;E:\sourcesafe\dev\trango\classes\classes111.zip
;E:\sourcesafe\dev\trango\classes\oro.zip;E:\sourcesafe\dev\trango\classes\j
gl.zip;E:\sourcesafe\dev\trango\classes\xml4j_1_1_14.jar;E:\sourcesafe\dev\t
rango\classes\mail.jar;E:\sourcesafe\dev\trango\classes\servlet.jar;E:\sourc
esafe\dev\trango\classes\ssce.jar;E:\sourcesafe\dev\trango\classes\swingall.
jar;E:\sourcesafe\dev\trango\classes\xalan.jar;E:\sourcesafe\dev\trango\clas
ses\xerces.jar;C:\winnt\java\classes\classes.zip;C:\jakarta-ant\lib\ant.jar;
C:\jakarta-ant\lib\jaxp.jar;C:\jakarta-ant\lib\parser.jar;E:\jdk1.3\lib\tool
s.jar;E:\Program
Files\JavaSoft\JRE\1.3\lib\rt.jar;e:\sourcesafe\dev\trango\src\"
E:\sourcesafe\dev\trango\src\kana\cms\ActionInformation.java
E:\sourcesafe\dev\trango\src\kana\cms\Address.java
E:\sourcesafe\dev\trango\src\kana\cms\AddressBookEntry.java E:\sourceD
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Unknown Source)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        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: 1 seconds

 

Mime
View raw message