You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/12/26 23:19:49 UTC
svn commit: r894027 - /ofbiz/trunk/common.xml
Author: doogie
Date: Sat Dec 26 22:19:47 2009
New Revision: 894027
URL: http://svn.apache.org/viewvc?rev=894027&view=rev
Log:
Add a shared init target, used by prepare anad prepare-docs.
Modified:
ofbiz/trunk/common.xml
Modified: ofbiz/trunk/common.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/common.xml?rev=894027&r1=894026&r2=894027&view=diff
==============================================================================
--- ofbiz/trunk/common.xml (original)
+++ ofbiz/trunk/common.xml Sat Dec 26 22:19:47 2009
@@ -45,16 +45,18 @@
<!-- Makes sure the needed directory structure is in place -->
<!-- ================================================================== -->
- <target name="prepare">
+ <target name="prepare" depends="init">
<mkdir dir="${build.dir}/classes"/>
<mkdir dir="${build.dir}/lib"/>
<taskdef name="if" classname="org.ofbiz.tools.ant.IfTask" classpath="${ofbiz.home.dir}/tools/build/classes"/>
</target>
- <target name="prepare-docs">
+ <target name="prepare-docs" depends="init">
<mkdir dir="${build.dir}/javadocs"/>
</target>
+ <target name="init"/>
+
<available property="_src-available" file="${src.dir}"/>
<fileset id="_src-extra-set" dir="." excludes="**"/>