ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Cheng <>
Subject init
Date Wed, 09 Jan 2002 21:41:20 GMT
Is there something wrong with this:

<target name="init">
    ... set some properties ...

<target name="compile" depends="init">
    ... some tasks ...

as opposed to doing the init tasks outside of any target, which is what most
examples seem to do?  I moved all that stuff to an init target because now
an "available" task needs to be part of it.  But someone mentioned on this
list that doing so was a bad thing but didn't elaborate on it...

I've been working with Ant for a while now but I'm no release engineer, so
it's been a struggle trying to figure out what the Ant developers consider
the Right way to do a buildfile.



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

View raw message