-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathbuild.xml
23 lines (20 loc) · 1008 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"?>
<project name="Gauss Key Card Applet" default="dist" basedir=".">
<description>Builds the project.</description>
<target name="dist" description="generate the distribution">
<tstamp/>
<get src="https://github.com/martinpaljak/ant-javacard/releases/download/18.09.25/ant-javacard.jar" dest="ext/ant/" skipexisting="true"/>
<!-- <ant dir="ext/ant"/> -->
<!-- Create the distribution directory -->
<taskdef name="javacard" classname="pro.javacard.ant.JavaCard" classpath="ext/ant/ant-javacard.jar"/>
<javacard jckit="ext/ant/sdks/jc222_kit/">
<cap aid="F465736C614C6F67696330303258" output="bin/GaussKeyCard.cap" sources="src" classes="bin" version="1.1">
<applet class="io.github.darconeous.gausskeycard.GaussKeyCard" aid="F465736C614C6F6769633030325801"/>
</cap>
</javacard>
</target>
<target name="clean" description="clean up">
<!-- Delete the built applet -->
<delete dir="bin"/>
</target>
</project>