ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike McCune" <mcc...@angami.com>
Subject RE: Jikes on Windows NT
Date Wed, 02 Aug 2000 17:36:48 GMT

I found that on my machines here if you tried to compile more than ~380 files jikes wouldn't
do anything.  I think this was some
limitation of the size of the command passed from exec() to jikes.

I wrote a patch to the Javac task to split the list of files (if greater than 300) into smaller
chunks and compile them in batches.
This may be the same approach that Matt Foemel did but it has been working for my team for
almost 6 months now.  I think we are
using the 3.1 release with my patch worked in.

If anyone wants this patch that I wrote or any more info, let me know,
Mike

-----Original Message-----
From: Michael jamison [mailto:mjamison@centrimed.com]
Sent: Wednesday, August 02, 2000 8:38 AM
To: 'ant-dev@jakarta.apache.org'
Subject: RE: Jikes on Windows NT


Here's some output with the -verbose option

Setting project property: java.specification.name -> Java Platform API
Specification
Setting project property: awt.toolkit -> sun.awt.windows.WToolkit
Setting project property: java.version -> 1.2.2
Setting project property: java.awt.graphicsenv ->
sun.awt.Win32GraphicsEnvironment
Setting project property: user.timezone -> America/Denver
Setting project property: java.specification.version -> 1.2
Setting project property: java.vm.vendor -> Sun Microsystems Inc.
Setting project property: java.vm.specification.version -> 1.0
Setting project property: user.home -> C:\WINNT\Profiles\mjamison
Setting project property: os.arch -> x86
Setting project property: java.awt.fonts ->
Setting project property: java.vendor.url -> http://java.sun.com/
Setting project property: file.encoding.pkg -> sun.io
Setting project property: user.region -> US
Setting project property: java.home -> c:\jdk1.2.2\jre
Setting project property: java.class.path ->
c:\work\classes;c:\work\lib\ant.jar;c:\work\classes;c:\jdk1.2.2\lib\tools.ja
r;c:\work\lib\jaxp.jar;c:\work\lib\parser.jar;c:\work\lib\j2ee.jar
Setting project property: line.separator ->

Setting project property: java.ext.dirs -> c:\jdk1.2.2\jre\lib\ext
Setting project property: java.io.tmpdir -> C:\TEMP\
Setting project property: os.name -> Windows NT
Setting project property: java.vendor -> Sun Microsystems Inc.
Setting project property: java.awt.printerjob -> sun.awt.windows.WPrinterJob
Setting project property: java.library.path ->
c:\jdk1.2.2\bin;.;C:\WINNT\System32;C:\WINNT;D:\Oracle\Ora81\bin;C:\Program
Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;D:\Oracle\Ora81\bin;C:
\Program
Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;c:\vslick\win;c:\work\
src\batchfiles;c:\program files\microsoft visual studio\vss\win32
Setting project property: java.vm.specification.vendor -> Sun Microsystems
Inc.
Setting project property: sun.io.unicode.encoding -> UnicodeLittle
Setting project property: file.encoding -> Cp1252
Setting project property: java.specification.vendor -> Sun Microsystems Inc.
Setting project property: user.name -> mjamison
Setting project property: user.language -> en
Setting project property: java.vendor.url.bug ->
http://java.sun.com/cgi-bin/bugreport.cgi
Setting project property: java.vm.name -> Classic VM
Setting project property: java.vm.specification.name -> Java Virtual Machine
Specification
Setting project property: java.class.version -> 46.0
Setting project property: sun.boot.library.path -> c:\jdk1.2.2\jre\bin
Setting project property: os.version -> 4.0
Setting project property: java.vm.info -> build JDK-1.2.2-001, native
threads, symcjit
Setting project property: java.vm.version -> 1.2.2
Setting project property: java.compiler -> symcjit
Setting project property: path.separator -> ;
Setting project property: user.dir -> C:\work\batchfiles\windows
Setting project property: file.separator -> \
Setting project property: sun.boot.class.path ->
c:\jdk1.2.2\jre\lib\rt.jar;c:\jdk1.2.2\jre\lib\i18n.jar;c:\jdk1.2.2\jre\clas
ses
Setting ro project property: ant.home -> c:\work\lib
Setting ro project property: basedir -> c:\work
Setting ro project property: ant.file -> c:\work\build\build.xml
Project base dir set to: C:\work
    ...

    [javac] Compiling 44 source files to C:\work\classes
    [javac] Using jikes compiler
    [javac] Dropping from classpath: C:\work\lib\tools.jar
    [javac] Dropping from classpath: C:\jdk1.2.2\jre\jre\lib\rt.jar
    [javac] Compilation args: [-Xstdout, -d, C:\work\classes, -classpath,
C:\work\classes;C:\work\lib\j2ee.jar;C:\jdk1.2
.2\jre\lib\rt.jar;C:\weblogic\lib\weblogicaux.jar;C:\weblogic\classes;C:\wor
k\lib\ant.jar;C:\jdk1.2.2\lib\tools.jar;C:\w
ork\lib\jaxp.jar;C:\work\lib\parser.jar;c:\work\src, -O]
    [javac] Files to be compiled:
        ..

jikes.exe is in c:/winnt which is in java.library.path

Mike

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@bost.de]
Sent: Wednesday, August 02, 2000 9:14 AM
To: ant-dev@jakarta.apache.org
Subject: Re: Jikes on Windows NT


>>>>> "Mj" == Michael jamison <mjamison@centrimed.com> writes:

 Mj> Any suggestions would be greatly appreciated.

apart from the obvious "ant -verbose" you've probably already tried?

Hmm, how many files are you trying to compile? I've modified a patch
Matt Foemel had submitted to support a large number of files. Maybe
I've broken some functionality with this - me modifying the patch, not
commiting it?

Stefan


Mime
View raw message