ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Goodnough <>
Subject Best practices and folder breakdown
Date Tue, 06 Feb 2001 17:35:23 GMT
I just downloaded the source for Ant 1.3 Beta 1.  I was
looking for the jars to include in my path and found that
only the xml parser jars were in the $ANT\lib directory.  I
expected to find ant.jar and optional.jar in there, too,
after running build.bat.  My first question is - which
ant.jar and optional.jar files do I include?  Do I copy
them from $ANT\dist\lib\ to $ANT\lib\?

This brought up a broader question for me.  What is the
intention of the folder hierarchy and the build scripts
which use them?  Also, what are some best practices in this
area?  Like, do most people have one directory to build the
jars and then copy them to a different directory for

I would be happy to help with the documentation in this
area (Diane's little buddy, maybe :-)) but I do think it
could be helpful to define some assumptions that have been
made.  Maybe this stuff is obvious to developers who work
with open source often but for those who don't, here's the
kind of thing I'm thinking of:

The src folder is the main repository for source code and
if you intend to add tasks you should follow the package
naming standards and then place them here.  Running
$ANT/build.bat, which calls $ANT/bootstrap.bat if needed,
will compile all source files (including your new task) to
the build directory and then create jars out of them....


{explanation of this folder}

{explanation of this folder}

{explanation of this folder}

So what does everyone think?  Is this something that is


Andrew Goodnough

How do you know you've come far enough, until you've gone too far? - Sheldon Kopp

Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.

View raw message