-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
32 lines (28 loc) · 1.26 KB
/
build.xml
File metadata and controls
32 lines (28 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project CarViewerServer">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<property name="bin.dir" location="${basedir}/bin" />
<property name="src.dir" location="${basedir}/src" />
<target name="create_run_jar" depends="compile">
<jar destfile="/Users/danielsenff/Dropbox/IFM/Sources/2D/templates_release/clayserver.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="net.ctdp.clay.ClayServer"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="bin"/>
<fileset dir="htdocs"/>
</jar>
</target>
<target name="compile" description="Fresh compile Java class files">
<mkdir dir="${bin.dir}" />
<!-- copy all files from src which are not java-files -->
<copy todir="${bin.dir}">
<fileset dir="${src.dir}" excludes="**.java, packaging/" />
</copy>
<javac srcdir="src" destdir="${bin.dir}" />
<copy todir="${bin.dir}/res">
<fileset dir="res" />
</copy>
</target>
</project>