Update ant build for sdk submodule
This commit is contained in:
parent
75f884de5d
commit
64eed711d0
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "sdks"]
|
||||
path = sdks
|
||||
url = https://github.com/martinpaljak/oracle_javacard_sdks
|
25
build.xml
25
build.xml
@ -1,13 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="smartpgp" default="convert" basedir=".">
|
||||
<description>Ant build for SmartPGP applet</description>
|
||||
<get src="https://github.com/martinpaljak/ant-javacard/releases/download/v20.03.25/ant-javacard.jar" dest="." skipexisting="true"/>
|
||||
<taskdef name="javacard" classname="pro.javacard.ant.JavaCard" classpath="ant-javacard.jar"/>
|
||||
<target name="convert">
|
||||
<javacard>
|
||||
<cap output="SmartPGPApplet.cap" sources="src" aid="d27600012401" version="1.0">
|
||||
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="d276000124010304AFAF000000000000"/>
|
||||
</cap>
|
||||
</javacard>
|
||||
</target>
|
||||
<description>Ant build for SmartPGP applet</description>
|
||||
|
||||
<!-- Add JC303 SDK for JCOP 3.0.1 -->
|
||||
<property name="JC305" value="sdks/jc305u3_kit"/>
|
||||
|
||||
<get src="https://github.com/martinpaljak/ant-javacard/releases/download/v20.03.25/ant-javacard.jar" dest="." skipexisting="true"/>
|
||||
<taskdef name="javacard" classname="pro.javacard.ant.JavaCard" classpath="ant-javacard.jar"/>
|
||||
|
||||
<target name="convert">
|
||||
<javacard>
|
||||
<cap jckit="${JC303}" output="SmartPGPApplet.cap" sources="src" aid="d27600012401" version="1.0">
|
||||
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="d276000124010304c0deedb522560000"/>
|
||||
</cap>
|
||||
</javacard>
|
||||
</target>
|
||||
</project>
|
||||
|
1
sdks
Submodule
1
sdks
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit e305a1a0b9bf6b9a8b0c91a9aad8d73537e7ff1b
|
Loading…
Reference in New Issue
Block a user