-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.xml
28 lines (25 loc) · 1010 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
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="applet" name="AppletPlayground build">
<!-- Applet building dependencies -->
<property name="JC222" value="ext/java_card_kit-2_2_2"/>
<path id="classpath">
<fileset dir="${JC222}" includes="**/*.jar"/>
</path>
<!-- derived from AppletPlayground build.xml -->
<taskdef name="javacard" classname="pro.javacard.ant.JavaCard" classpath="ext/ant-javacard.jar"/>
<!-- All included applets -->
<target name="applet">
<javacard jckit="${JC222}">
<!-- ndefOtpGenerator -->
<cap output="NDEFotpGenerator.cap" sources="src/cz/muni/fi/crocs" version="1.0">
<applet class="cz.muni.fi.crocs.javacard.ndefOtpGenerator.NdefApplet" aid="D2760000850101"/>
</cap>
</javacard>
<mkdir dir="build/classes"/>
<javac
srcdir="src"
destdir="build/classes"
classpathref="classpath"/>
<jar destfile="build/build.jar" basedir="build/classes"/>
</target>
</project>