-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
47 lines (42 loc) · 1.71 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build-jar" name="tNAC XACML-PDP">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.6"/>
<property name="source" value="1.6"/>
<property name="build.src" value="src" />
<property name="build.classes" value="bin" />
<property name="build.libs" value="libs" />
<property name="java.dir" value="." />
<property name="project-name" value="Trust@FHH XACML-PDP v${project-version}" />
<property name="project-version" value="0.4"/>
<property name="output-name" value="trustfhh-xacml-pdp"/>
<property name="manifest" value="MANIFEST.MF" />
<path id="compile.classpath">
<fileset dir="${build.libs}" includes="**/*.jar"/>
</path>
<target name="init">
<mkdir dir="${build.classes}"/>
</target>
<target name="clean">
<delete dir="${build.classes}"/>
<delete file="${output-name}.jar"/>
</target>
<target depends="init" name="build">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="${build.classes}" source="${source}" target="${target}">
<src path="${build.src}"/>
<classpath refid="compile.classpath"/>
</javac>
</target>
<target depends="build" name="build-jar">
<jar jarfile="${output-name}.jar">
<manifest>
<attribute name="Main-Class" value="de.fhhannover.inform.trust.xacml.DynamicNetworkPDPStarter"/>
<attribute name="Class-Path" value=". libs/xalan.jar libs/xercesImpl.jar libs/log4j-1.2.16.jar"/>
</manifest>
<fileset dir="${build.classes}">
</fileset>
</jar>
</target>
</project>