Greetings from Sunny New Zealand. I'm using Ant for automating our production build process - many applications (both Delphi and Java) controlled by 1 build file and everything works a treat.
Some suggestions that would be very useful (to me, anyway!): 1. Add if="" and unless="" to AntCall At the moment I have a number of intermediate targets that serve only to broker the interaction between other targets eg: <target name="alpha"> ... <antcall target"beta"/> ... </target> <target name="beta" if="greek.flag"> <antcall target="gamma"/> </target> <target name="gamma"/> ... </target> It would simplify life if I could write this instead: <target name="alpha"> ... <antcall target"gamma" if="greek.flag"/> ... </target> <target name="gamma"/> ... </target> 2. Add Property="" to JavaC, Java, Exec and ExecOn These all already have FailOnError which is useful for automating a single build, but not when trying to build 100 applications in one go (which is my situation). My thought is to mimic the behaviour of property="" on available (property is set if things are available) and uptodate (property is set if things are uptodate) and have the property set if the task worked. Combining these two would make it possible to write things like this: <target name="compile.delphi.application"> <exec executable="delphi compiler" property="delphi.compile.ok"/> <antcall target="log.build.success" if="delphi.compile.ok"/> <antcall target="log.build.failure" unless="delphi.compile.ok"/> </target> I know Delphi inside out, I'm still a newbie at Java, but are willing to have a go - so if someone can point me in the right direction I can try writing these myself (provided they meet with approval). Hope this makes sense, Keep Smiling, Bevan. -- _______________________________________________________________________ Bevan Arps, OO Analyst email: [EMAIL PROTECTED] ACT Financial Systems "Programming is an Art Form that Fights Back" *********************************************************************** This communication is confidential to ACT Financial Systems (Asia Pacific) and is intended for use only by the addressee. The views and opinions expressed in this email are the senders own and do not represent the views and opinions of ACT Financial Systems (Asia Pacific). ***********************************************************************