Hello Troy,

> -----Original Message-----
> From: Taillefer, Troy (EXP) [mailto:[EMAIL PROTECTED]
> I have question about build.sh junit, I know it uses Ant and 
> reads build.xml makefile is there anyway I could pass
> command line arguments -Xmx128m -Xss128m to the java command 
                                   ^^^^
(do you mean -Xms ?)

> what modification would I have to make to build.xml ?

what do want to do?  

Do you want to change the VM parameters that ant 
itself runs in?  Then you will have to modify 
build.sh.

Or do you have an ant task (such as javadoc or javac) that
should run in an extra VM that you which to set
the VM parameters for?

In that case, you have to make sure that the tasks forks
an extra VM (some tasks can do that (java/javadoc), some cannot)
and find out how that tasks controls your VM parameters. 

For javadoc, add an attribute maxmemory="128m" to the
task.  

btw: your mail is offtopic here.  Refer to
http://ant.apache.org/manual or to the appropriate mailing list.

Olli



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • RE: Ant Taillefer, Troy (EXP)
    • Re: Ant Brian McCallister
    • oliver . matz

Reply via email to