Author: nextgens
Date: 2006-12-06 00:23:48 +0000 (Wed, 06 Dec 2006)
New Revision: 11261

Modified:
   trunk/apps/Thaw/build.xml
Log:
Thaw: improve the buildfile

Modified: trunk/apps/Thaw/build.xml
===================================================================
--- trunk/apps/Thaw/build.xml   2006-12-06 00:13:53 UTC (rev 11260)
+++ trunk/apps/Thaw/build.xml   2006-12-06 00:23:48 UTC (rev 11261)
@@ -7,10 +7,14 @@
        <property name="images.dir" value="images" />
        <property name="lib.dir" value="lib" />
        <property name="javadoc.dir" value="javadoc" />
-       <property name="hsqldb.location" value="${lib.dir}/hsqldb.jar" />
        <property name="javac.debug" value="false" />
        <property name="svn.revision" value="@custom@"/>

+       <property name="hsqldb.location" value="${lib.dir}/hsqldb.jar" />
+       <available file="${hsqldb.location}" property="hsqldb_available" />
+       <fail unless="hsqldb_available" status="1"
+       message="You need to download hsqldb.jar from 
http://sourceforge.net/projects/hsqldb/ and to put it in lib/" />
+
        <target name="compile">
                <mkdir dir="${bin.dir}" />

@@ -45,11 +49,6 @@


        <target name="jar" depends="compile"    description="Make the Jar" >
-               <available file="${hsqldb.location}" 
property="hsqldb_available" />
-
-               <fail unless="hsqldb_available" status="1"
-                      message="You need to download hsqldb.jar from 
http://sourceforge.net/projects/hsqldb/ and to put it in lib/" />
-
                <jar jarfile="${lib.dir}/Thaw.jar" basedir="${bin.dir}">
                        <manifest>
                                <attribute name="Main-Class" 
value="thaw.core.Main"/>


Reply via email to