ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nisha Pillai <>
Subject Re: -J option <javac> task question
Date Tue, 29 Apr 2003 23:48:55 GMT
Stefan Bodewig wrote:

>On Mon, 28 Apr 2003, Nisha Pillai <> wrote:
>>Yes, I get an OutOfMemoryError.
>Run ant -debug and take a look at the javac command line Ant uses (it
>is printed in the very long logfile you'll receive).  Does it contain
>the -J-mx setting you expect?
   Here's the relevant section from the debug log.

fileset: Setup scanner in dir E:\CVS\FCSRelease\Vivaldi\external_jars 
with patternSet{ includes: [**/*.jar] excludes: [] }
    [javac] Compilation arguments:
    [javac] '-d'
    [javac] 'E:\CVS\FCSRelease\Vivaldi\classes'
    [javac] '-classpath'
    [javac] '-sourcepath'
    [javac] 'E:\CVS\FCSRelease\Vivaldi\src'
    [javac] '-g'
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.

As you can see, no -J option is generated. Any suggestions would be 
I'm using Ant 1.5.3-1.

- Nisha.

View raw message