Author: rgardler
Date: Fri Dec 30 08:24:14 2005
New Revision: 360116

URL: http://svn.apache.org/viewcvs?rev=360116&view=rev
Log:
ensure content exists before running, fail if it doesn't

Modified:
    forrest/trunk/main/forrest.build.xml

Modified: forrest/trunk/main/forrest.build.xml
URL: 
http://svn.apache.org/viewcvs/forrest/trunk/main/forrest.build.xml?rev=360116&r1=360115&r2=360116&view=diff
==============================================================================
--- forrest/trunk/main/forrest.build.xml (original)
+++ forrest/trunk/main/forrest.build.xml Fri Dec 30 08:24:14 2005
@@ -329,7 +329,7 @@
   </target>
 
   <!-- Sets up properties and filters -->
-  <target name="init" depends="check-java-version, init-props, init-skins, 
init-plugins">
+  <target name="init" depends="check-contentdir, ensure-content, 
check-java-version, init-props, init-skins, init-plugins">
     <available property="xml-forrest.jar.exists" 
file="${forrest.build.lib-dir}/xml-forrest.jar"/>
     <fail unless="xml-forrest.jar.exists">You must build forrest before you 
can run it.  In ${forrest.home}/main run './build.sh' (linux) or 'build' 
(windows)</fail>
   </target>


Reply via email to