[sword-svn] r112 - trunk
Apache
apache at www.crosswire.org
Wed Feb 7 19:26:16 MST 2007
Author:
Date: 2007-02-07 19:26:16 -0700 (Wed, 07 Feb 2007)
New Revision: 112
Modified:
trunk/build.xml
Log:
fixed ant build script to work with separation of common src files from desktop app files
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2007-02-08 01:44:59 UTC (rev 111)
+++ trunk/build.xml 2007-02-08 02:26:16 UTC (rev 112)
@@ -12,6 +12,7 @@
=========================================================================-->
<property name="source.root" value="."/>
<property name="source.java" value="${source.root}/app/src"/>
+ <property name="source.java.common" value="${source.root}/src"/>
<property name="source.res" value="${source.root}"/>
<property name="target.root" value="${source.root}/target"/>
<property name="target.classes" value="${target.root}/classes"/>
@@ -25,6 +26,7 @@
=========================================================================-->
<path id="source.path">
<dirset dir="${source.java}" includes="*"/>
+ <dirset dir="${source.java.common}" includes="*"/>
</path>
<!--=======================================================================
@@ -122,6 +124,13 @@
<target name="compile" description="Compile the source">
<mkdir dir="${target.classes}"/>
<javac debug="on"
+ srcdir="${source.java.common}"
+ includes="**/*.java"
+ destdir="${target.classes}"
+ source="1.4">
+ <exclude name="**/migrate/*"/>
+ </javac>
+ <javac debug="on"
srcdir="${source.java}"
includes="**/*.java"
destdir="${target.classes}"
More information about the sword-cvs
mailing list