Good idea. Let me know if I can help in any way. -Brian
-----Original Message----- From: Herman, Dave [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 1:54 PM To: 'Ant Users List' Subject: RE: init This isn't an answer to your question, but I was thinking about starting a "Best Practices" page, perhaps for the developers to put up on the Ant web site. I've had the same problems as you, trying to learn the Right way. Would people be interested in such a web page? I'll be glad to head off the effort. Perhaps it could just start as a conversation here on the mailing list, and I could collect the results in the web page. Since these things tend towards holy wars, I'd try to be pretty moderate and collect the generally accepted practices, and then maybe have a separate section for more controversial topics. Dave Herman [EMAIL PROTECTED] > -----Original Message----- > From: Joe Cheng [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 09, 2002 2:41 PM > To: 'Ant Users List' > Subject: init > > > Is there something wrong with this: > > <target name="init"> > ... set some properties ... > </target> > > <target name="compile" depends="init"> > ... some tasks ... > </target> > > 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. > > Thanks, > > -jmc > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
