236 |
14 Feb 07 |
mbayer |
1 |
<project default="compile" basedir="."> |
236 |
14 Feb 07 |
mbayer |
2 |
|
236 |
14 Feb 07 |
mbayer |
3 |
<property name="src" location="src" /> |
236 |
14 Feb 07 |
mbayer |
4 |
<property name="classes" location="classes" /> |
236 |
14 Feb 07 |
mbayer |
5 |
<property name="lib" location="WEB-INF/lib" /> |
236 |
14 Feb 07 |
mbayer |
6 |
<property name="jarfile-batchimporter" value="batchimporter.jar" /> |
236 |
14 Feb 07 |
mbayer |
7 |
|
236 |
14 Feb 07 |
mbayer |
8 |
|
236 |
14 Feb 07 |
mbayer |
9 |
<path id="project.class.path"> |
236 |
14 Feb 07 |
mbayer |
10 |
<fileset dir="${lib}"> |
236 |
14 Feb 07 |
mbayer |
11 |
<include name="**/*.jar" /> |
236 |
14 Feb 07 |
mbayer |
12 |
</fileset> |
236 |
14 Feb 07 |
mbayer |
13 |
<pathelement location="${classes}" /> |
236 |
14 Feb 07 |
mbayer |
14 |
<pathelement location="WEB-INF/classes" /> |
236 |
14 Feb 07 |
mbayer |
15 |
</path> |
236 |
14 Feb 07 |
mbayer |
16 |
|
236 |
14 Feb 07 |
mbayer |
17 |
<target name="compile"> |
236 |
14 Feb 07 |
mbayer |
18 |
<javac srcdir="${src}" destdir="${classes}" debug="on"> |
236 |
14 Feb 07 |
mbayer |
19 |
<classpath refid="project.class.path" /> |
236 |
14 Feb 07 |
mbayer |
20 |
</javac> |
236 |
14 Feb 07 |
mbayer |
21 |
</target> |
236 |
14 Feb 07 |
mbayer |
22 |
|
236 |
14 Feb 07 |
mbayer |
23 |
<target name="jar-batchimporter" depends="compile"> |
236 |
14 Feb 07 |
mbayer |
24 |
<delete file="${jarfile-batchimporter}" /> |
236 |
14 Feb 07 |
mbayer |
25 |
<jar jarfile="${jarfile-batchimporter}" |
236 |
14 Feb 07 |
mbayer |
26 |
basedir="${classes}" |
236 |
14 Feb 07 |
mbayer |
27 |
includes="sbrn/base/BatchDataImport.class,sbrn/base/BatchDataImporter.class,sbrn/base/ProgressMonitorThread.class,sbrn/base/PluginConfigDetector.class" /> |
236 |
14 Feb 07 |
mbayer |
28 |
</target> |
236 |
14 Feb 07 |
mbayer |
29 |
|
236 |
14 Feb 07 |
mbayer |
30 |
<target name="batchimporter" depends="jar-batchimporter"> |
236 |
14 Feb 07 |
mbayer |
31 |
<copy file="${jarfile-batchimporter}" todir="\\sbrn1\tomcat\projects\base\www\plugins" /> |
236 |
14 Feb 07 |
mbayer |
32 |
</target> |
236 |
14 Feb 07 |
mbayer |
33 |
|
236 |
14 Feb 07 |
mbayer |
34 |
<target name="zip_batchimporter" depends="jar-batchimporter"> |
236 |
14 Feb 07 |
mbayer |
35 |
<zip destfile="${basedir}/dist/batchimporter.zip"> |
236 |
14 Feb 07 |
mbayer |
36 |
<fileset dir="${basedir}/doc/batchimporterplugin" /> |
236 |
14 Feb 07 |
mbayer |
37 |
<fileset dir="${lib}" includes="${jarfile-batchimporter}"/> |
236 |
14 Feb 07 |
mbayer |
38 |
<fileset dir="../sbrn-commons/trunk" includes="sbrn-commons.jar" /> |
236 |
14 Feb 07 |
mbayer |
39 |
<fileset dir="${basedir}" includes="src/sbrn/base/BatchDataImport.java,src/sbrn/base/BatchDataImporter.java,src/sbrn/base/ProgressMonitorThread.java,src/sbrn/base/PluginConfigDetector.java"/> |
236 |
14 Feb 07 |
mbayer |
40 |
</zip> |
236 |
14 Feb 07 |
mbayer |
41 |
</target> |
236 |
14 Feb 07 |
mbayer |
42 |
|
236 |
14 Feb 07 |
mbayer |
43 |
|
236 |
14 Feb 07 |
mbayer |
44 |
</project> |