All,
Would anyone please comment my ant build structure? I am trying to have
build.xml in different level of the tree so that it can be built from top
and also individual and also dependently. Here it goes:
/src/client
/build.xml
/src/server
/build.xml
/common.
You can achieve the below by using the ant-contrib package. Go here
(http://ant-contrib.sourceforge.net/) to download.
Using the task you can express the if/then/else type logic you're
looking for.
-Original Message-
From: Holliday, Donald B. (LNG-CSP) [mailto:[EMAIL PROTECTED]
Sent: F
http://ant.apache.org/manual/index.html
Click Ant Tasks in the left frame. Then click Core Tasks.
-Rob A
> -Original Message-
> From: S. Alan Ezust [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 06, 2004 1:32 PM
> To: Ant Users List
> Subject: Ant Docs - valid attributes of taskdef?
On Feb 6, 2004, at 4:32 PM, Matt Benson wrote:
It's 1.5 years out of date, but you could take a look
at
http://www.manning-source.com/books/hatcher/hatcher_apxE.pdf
for a start.
This was built using the original proposal/xdocs code - which can be
regenerated from the current source.
Erik
--
The usual approach is to not compile both your implementation and tests to
the same place. Instead compile your implementation to
${base.dir}/build/classes/com/
and your test to
${base.dir}/build/test/com/
This makes it easy to write a "clean" target for implementation,
I have ant build scripts that need to run on both Win2K and Solaris. The
JDK/SDKs, JREs, and locally constructed jar files are in different
directories, depending on the operating system.
I want to write a script that says something like
set a bunch of properties
I have two parallel source branches, one for unittests and one for
implementation. Both of these branches compile into a single
codebase. For example:
test/com/foo/myprogram[/subpackage1,subpackage2,...]
src/com/foo/myprogram[/subpackage1,subpackage2,...]
Both of these compile into
codebase/com/f
Another option is to run the AntStructure task. This "generates a DTD
for Ant buildfiles which contains information about all tasks currently
known to Ant." Be warned that "This task doesn't know about required
attributes, all will be listed as #IMPLIED." The quotes are from the Ant
docs.
Dale