ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Holdren" <>
Subject RE: newbie question
Date Wed, 15 Nov 2000 21:25:09 GMT
very interesting ideas from both of the replies I got on this.  Seems I now
have two different ways to aproach this, either with one build.xml file and
pass ant a parameter signifying the subproject to build, Or to have
build.xml files in each dir (like I do with make) and call ant from that
subproject's dir...
Thank you very much David and Mahlen.


-----Original Message-----
From: Mahlen Morris []
Sent: Wednesday, November 15, 2000 3:53 PM
Subject: RE: newbie question

I wrote a description of how i did just such a thing earlier. You can
find it in the Ant archive here:


Show respect for age.  Drink good Scotch for a change.

-----Original Message-----
From: Dean Holdren []
Sent: Wednesday, November 15, 2000 12:15 PM
Subject: newbie question

Hi, I have just started using ant, and I am very interested in it.  I
have one general question, maybe it's too broad.
If I run ant.bat from the location of the build.xml, it will (attempt)
build the entire project.  How would I go about allowing for sectional
compiles, i.e. just certain (sub)packages?  Currently we use makefiles,
directory has a makfile in it which contains references to the immediate
child directories and the TOPDIR (if 4 levels down, ../../../..).  This
we can call make from any point in the directory/package tree and it
compile everything in the current dir and everything below it.

How would I go about doing this in ant?  Would I have to have build.xml
files for every directory in the directory tree?

Dean Holdren
Timecruiser Computing Corp.
(973)244-7856 x154

View raw message