1. You should post questions such as this to the ant USERS list, not the
   Ant developers list.

2. You can control the memory available using ANT_OPTS

3. Ant should not attempt to compile a file that is already compiled.
   So, if you don't do a 'clean' between builds, then (assuming your
   build.xml file is appropriately written), Ant will only compile
   what has changed since the last build.

4. You could put build.xml files at subdirectories, and have the
   top level build.xml invoke Ant on these lower level directories
   so as to compile just parts at a time. From your top level then,
   you could build all, or using various targets, build just portions.

-----Original Message-----
From: Maybin Muyeba [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 23, 2003 8:35 AM
To: [EMAIL PROTECTED]
Subject: buiding incrementally


New to Ant!!

I am building a script in ant that compiles deeply nested directories with 
lots of files(.java).
When I build from the root of the classess directory, I run out of memory 
but when I manually make directories for the same directories and compile 
per-directory, it works.


But is there a way to specify how many files you can compile each time the 
Ant build command hits a directory, so that I don't have to list each
directory I should compile down in the nested cluster of directories?


thanks in advance

Maybin

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger


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

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

Reply via email to