2009/12/16 Dominique Devienne <ddevie...@gmail.com> > > ant deploy /block:war > > Sounds very cool !
I often tried to implement such things into my ant script, but I never found the right ideom to do that. But this gave me an idea I might give a try : <project> <target name="/block:war" depends="/block:compile"> <property name="skip.war"/> </target> <target name="war" depends="compile" unless="skip.war"> ... </target> <target name="deploy" depends="war" unless="skip.deploy"> ... </target> </project> $> ant /block:war deploy