ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Holdren" <dhold...@timecruiser.com>
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.

dean

-----Original Message-----
From: Mahlen Morris [mailto:mmorris@yaltacomm.com]
Sent: Wednesday, November 15, 2000 3:53 PM
To: ant-user@jakarta.apache.org
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:

http://marc.theaimsgroup.com/?l=ant-user&m=97191415331968&w=2

mahlen

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

-----Original Message-----
From: Dean Holdren [mailto:dholdren@timecruiser.com]
Sent: Wednesday, November 15, 2000 12:15 PM
To: ant-user@jakarta.apache.org
Subject: newbie question


Hi, I have just started using ant, and I am very interested in it.  I
just
have one general question, maybe it's too broad.
If I run ant.bat from the location of the build.xml, it will (attempt)
to
build the entire project.  How would I go about allowing for sectional
compiles, i.e. just certain (sub)packages?  Currently we use makefiles,
each
directory has a makfile in it which contains references to the immediate
child directories and the TOPDIR (if 4 levels down, ../../../..).  This
way
we can call make from any point in the directory/package tree and it
will
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
Business: dholdren@timecruiser.com
Personal: DeanHoldren@netzero.net


Mime
View raw message