summaryrefslogtreecommitdiff
path: root/build.xml
blob: dd074f620cd0f98fbdc5f9e05509bfe275abcd2d (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="build" name="ECTester">
    <target name="build">
        <ant antfile="build-applet.xml" target="build"/>
        <ant antfile="build-reader.xml" target="jar"/>
        <ant antfile="build-standalone.xml" target="jar"/>
    </target>
    <target name="package">
        <ant antfile="build-applet.xml" target="build"/>
        <ant antfile="build-reader.xml" target="package"/>
        <ant antfile="build-standalone.xml" target="package"/>
    </target>
    <target name="clean">
        <ant antfile="build-applet.xml" target="clean"/>
        <ant antfile="build-reader.xml" target="clean"/>
        <ant antfile="build-standalone.xml" target="clean"/>
    </target>
    <target name="help">
        <echo message="ECTester is built using three ant files:"/>
        <echo message=" - build-applet.xml - For building the JavaCard applet."/>
        <echo message="     -> build: Build the applet."/>
        <echo message="     -> upload: Upload the applet using the GPPro tool."/>
        <echo message="     -> upload-emv: Uploat the applet using the GPPro tool and the EMV key protocol."/>
        <echo message=" - build-reader.xml - For building the reader app."/>
        <echo message="     -> jar: Build the reader app."/>
        <echo message="     -> package: Build the reader app into a distributable single jar, along with dependencies."/>
        <echo message=" - build-standalone.xml - For building the standalone app."/>
        <echo message="     -> jar: Build the standalone app."/>
        <echo message="     -> headers: Build the JNI header for testing native libraries."/>
        <echo message="     -> libs: Build the JNI shims for testing native libraries."/>
        <echo message="     -> libs-try: Build the JNI shims for testing native libraries, but do not fail if some are not available."/>
        <echo message="     -> package: Build the standalone app into a distributable single jar, along with dependencies."/>
        <echo message=""/>
        <echo message="Finally, this file provides four targets:"/>
        <echo message="     -> build: "/>
        <echo message="     -> package: "/>
        <echo message="     -> clean: "/>
        <echo message="     -> help: "/>
    </target>
</project>