Author: nextgens
Date: 2006-12-06 00:13:53 +0000 (Wed, 06 Dec 2006)
New Revision: 11260
Modified:
tags/Thaw/0.6/build.xml
Log:
improve Thaw's buildfile
Modified: tags/Thaw/0.6/build.xml
===================================================================
--- tags/Thaw/0.6/build.xml 2006-12-05 23:59:06 UTC (rev 11259)
+++ tags/Thaw/0.6/build.xml 2006-12-06 00:13:53 UTC (rev 11260)
@@ -10,6 +10,9 @@
<property name="hsqldb.location" value="${lib.dir}/hsqldb.jar" />
<property name="javac.debug" value="false" />
<property name="svn.revision" value="@custom@"/>
+ <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 +48,7 @@
<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"/>