OSDN Git Service

initial commit
[posterdivider/PosterDivider.git] / build.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <project basedir="." default="build" name="PosterDivider">
3     <property environment="env"/>
4     <path id="PosterDivider.classpath">
5         <pathelement location="bin"/>
6         <pathelement location="iText.jar"/>
7     </path>
8     <target name="init">
9         <mkdir dir="bin"/>
10         <copy includeemptydirs="false" todir="bin">
11             <fileset dir="src" excludes="**/*.launch, **/*.java"/>
12         </copy>
13     </target>
14     <target name="clean">
15         <delete dir="bin"/>
16     </target>
17     <target depends="clean" name="cleanall"/>
18     <target depends="build-subprojects,build-project" name="build"/>
19     <target name="build-subprojects"/>
20     <target depends="init" name="build-project">
21         <echo message="${ant.project.name}: ${ant.file}"/>
22         <javac destdir="bin" encoding="UTF-8">
23             <src path="src"/>
24             <classpath refid="PosterDivider.classpath"/>
25         </javac>
26     </target>
27     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
28     <target name="Program">
29         <java classname="jp.sourceforge.posterdivider.Program" failonerror="true" fork="yes">
30             <classpath refid="PosterDivider.classpath"/>
31         </java>
32     </target>
33 </project>