ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Naming build files
Date Tue, 26 Nov 2002 16:42:54 GMT
Be careful, Ant scripts are not makefiles... A friend embedded over 80 build
files in his source tree, because he was used to makefiles.

One usually has a single Ant build script per project, most often at the
root of the project. Since build.xml is the default Ant build script, one
doesn't have to specify the -f or -buildfile switch on the command line.

Putting the Ant build script at the top level is important, as everything
can then easily be defined relatively from this point (see the location
attribute of <property>).

Does that help? --DD

-----Original Message-----
From: Patricia Watt [] 
Sent: Tuesday, November 26, 2002 10:39 AM
To: Ant Users List
Subject: Naming build files


A fellow here at my work seems to think it's desirable (best practice) that
all build files are named simply "build.xml".  And hence that they'd have to
be stored in appropriately named directories in the source hierarchy.  Any
opinions on this?

Thanks for any comments.

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

View raw message