aboutsummaryrefslogtreecommitdiff
path: root/spss.slinterface/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'spss.slinterface/build.xml')
-rw-r--r--spss.slinterface/build.xml24
1 files changed, 11 insertions, 13 deletions
diff --git a/spss.slinterface/build.xml b/spss.slinterface/build.xml
index 08c17b9c9..4133c1e77 100644
--- a/spss.slinterface/build.xml
+++ b/spss.slinterface/build.xml
@@ -1,16 +1,19 @@
<!--
- Ant Buildfile for MOA SP/SS Server
+ Ant Buildfile for MOA SL
- Authors: Patrick Peck, Gregor Karlinger
+ Authors: Gregor Karlinger
$Id$
-->
<project name="moa-sl" default="dist-ws" basedir=".">
<property environment="env"/>
- <property name="script-suffix" value="${env.SCRIPT_SUFFIX}"/>
- <property name="version" value="1.1.0"/>
+
+ <!-- Remove comments if targets should be run in test mode, i.e. include test files -->
+ <!--<property name="isTest" value="dummy"/>-->
+
+ <property name="version" value="1.1.1"/>
<property name="lib" value="lib"/>
<property name="src" value="src"/>
@@ -76,7 +79,7 @@
debug="on">
</javac>
</target>
-
+
<target name="package-ws" depends="compile, manifest">
<description>package the server war file</description>
<war warfile="${dist.ws}/moa-sl.war" webxml="${web-inf}/web.xml" manifest="${tmp}/MANIFEST.MF">
@@ -91,9 +94,10 @@
<classes dir="${res}" excludes="test/**"/>
<classes file="${conf}/log4j/log4j.properties"/>
<zipfileset dir="${pages}" excludes="" prefix="pages"/>
- <zipfileset dir="${test}" excludes="echtdaten*/** .cvsignore" prefix="test"/>
+ <zipfileset dir="${test}" excludes=".cvsignore" prefix="test">
+ <exclude unless="isTest" name="*/**"/>
+ </zipfileset>
<zipfileset dir="${tempdir}" prefix="workdir/temp"/>
- <!--<webinf dir="${handbook}" includes="conf/**"/>-->
</war>
</target>
@@ -127,12 +131,6 @@
<fileset dir="${lib.xalan}"/>
<fileset dir="${lib.xerces}"/>
</copy>
- <!--<copy toDir="${dist.ws}/licenses">
- <fileset dir="${licenses}"/>
- </copy>-->
- <!--<copy toDir="${dist.ws}">
- <fileset dir="." includes="readme.inst.txt, readme.update.txt, history.txt"/>
- </copy>-->
<fixcrlf srcdir="${dist.ws}" includes="**/*.sh" eol="lf" eof="remove"/>
</target>