ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
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 [mailto:pwatt@convera.com] 
Sent: Tuesday, November 26, 2002 10:39 AM
To: Ant Users List
Subject: Naming build files

Hi,

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.
Tricia

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message