-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
23 lines (20 loc) · 1.05 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Plume" default="dist" basedir=".">
<get src="https://github.com/martinpaljak/ant-javacard/releases/latest/download/ant-javacard.jar" dest="." skipexisting="true"/>
<taskdef name="javacard" classname="pro.javacard.ant.JavaCard" classpath="ant-javacard.jar"/>
<description>Builds the project. </description>
<target name="dist" description="generate the distribution">
<tstamp/>
<javacard jckit="ext/sdks/jc304_kit">
<cap targetsdk="ext/sdks/jc304_kit" aid="a0:00:00:00:87:10:02:ff:86:ff:ff:89:ff:ff" output="PLUME.cap" sources="src" version="1.0">
<applet class="com.base0010.plume.PLUME" aid="a0:00:00:00:87:10:02:ff:86:ff:ff:89:ff:ff:de:ad"/>
<!-- Probably unneeded -->
<import jar="ext/sdks/jc304_kit/lib/globalplatform.jar" />
</cap>
</javacard>
</target>
<target name="clean" description="clean up">
<!-- Delete the built applet -->
<delete dir="PLUME.cap"/>
</target>
</project>