ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nisha Pillai <npil...@teja.com>
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 <npillai@teja.com> 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?
>
>Stefan
>
>  
>
Stefan,
   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] 
'E:\CVS\FCSRelease\Vivaldi\classes;E:\CVS\FCSRelease\Vivaldi\external_jars\antlr.jar;E:\CVS\FCSRelease\Vivaldi\external_jars\bcprov-jdk14-115.jar;E:\CVS\FCSRelease\Vivaldi\external_jars\bsh-1.2b7.jar;E:\CVS\FCSRelease\Vivaldi\external_jars\update.jar;C:\j2sdk1.4.1\lib\tools.jar;E:\Ant\apache-ant-1.5.3-1\lib\xml-apis.jar;E:\Ant\apache-ant-1.5.3-1\lib\xercesImpl.jar;E:\Ant\apache-ant-1.5.3-1\lib\optional.jar;E:\Ant\apache-ant-1.5.3-1\lib\ant.jar;E:\'
    [javac] '-sourcepath'
    [javac] 'E:\CVS\FCSRelease\Vivaldi\src'
    [javac] '-g'
    [javac]
    [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 
welcome.
I'm using Ant 1.5.3-1.

- Nisha.


Mime
View raw message