ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Wood <>
Subject RE: buiding incrementally
Date Mon, 23 Jun 2003 13:41:53 GMT
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 [] 
Sent: Monday, June 23, 2003 8:35 AM
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


Use MSN Messenger to send music and pics to your friends

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message