[Yanel-commits] rev 24490 -
public/yanel/contributions/projects/yanel-minimal
simon at wyona.com
simon at wyona.com
Tue May 15 12:45:24 CEST 2007
Author: simon
Date: 2007-05-15 12:45:23 +0200 (Tue, 15 May 2007)
New Revision: 24490
Modified:
public/yanel/contributions/projects/yanel-minimal/build.xml
Log:
add clean target
Modified: public/yanel/contributions/projects/yanel-minimal/build.xml
===================================================================
--- public/yanel/contributions/projects/yanel-minimal/build.xml 2007-05-15 10:38:52 UTC (rev 24489)
+++ public/yanel/contributions/projects/yanel-minimal/build.xml 2007-05-15 10:45:23 UTC (rev 24490)
@@ -11,8 +11,8 @@
<target name="init" depends="dependencies">
<mkdir dir="webapps"/>
<mkdir dir="webapps/${project.name}"/>
- <mkdir dir="webapps/${project.name}/logs"/>
<mkdir dir="webapps/${project.name}/WEB-INF"/>
+ <mkdir dir="webapps/${project.name}/WEB-INF/logs"/>
<mkdir dir="webapps/${project.name}/WEB-INF/classes"/>
<mkdir dir="webapps/${project.name}/WEB-INF/lib"/>
<property name="build.dir" value="."/>
@@ -63,5 +63,12 @@
<target name="war" description="Build war file" depends="init">
<jar jarfile="${yanel.home.dir}/build/webapps/${servlet.context.prefix}.war" basedir="${yanel.home.dir}/build/webapps/${servlet.context.prefix}"/>
</target>
+
+ <target name="clean" description="clean" depends="init">
+ <ant target="clean" antfile="${build.dir}/resource-types/file/build.xml" inheritAll="false">
+ <property value="0.0.1-dev-rREVISION" name="yanel.source.version"/>
+ </ant>
+ <delete dir="webapps"/>
+ </target>
</project>
\ No newline at end of file
More information about the Yanel-commits
mailing list