forked from drugis/addis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
23 lines (21 loc) · 810 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="warn" name="ADDIS" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<target name="warn">
<echo>Please use Maven2!</echo>
</target>
<artifact:pom id="addis-pom" file="pom.xml" />
<target name="license">
<java classpath="application/target/addis-${addis-pom.version}-jar-with-dependencies.jar" classname="org.drugis.addis.util.CopyrightInfo" />
<loadfile property="header" srcFile="HEADER" />
<replaceregexp flags="s"
match=".*package org.drugis.addis"
replace="${header}package org.drugis.addis">
<fileset dir="application/src">
<include name="**/*.java" />
</fileset>
<fileset dir="installer/src">
<include name="**/*.java" />
</fileset>
</replaceregexp>
</target>
</project>