-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ant-javacard for building the applet. #3
Use ant-javacard for building the applet. #3
Conversation
Thank you, I did actually test this on a local branch but got distracted.
Am I wrong? Do you need more debug information? I know from earlier tests that it does work when specifying the java card SDK manually by:
|
JC_HOME was documented on README but not released as a downloadable JAR. This was fixed before making this pull request, that includes https://github.com/martinpaljak/ant-javacard/releases/tag/v0.8 The warning is correct with both versions:
|
Nevermind. I had ant-javacard in You might have seen this as well:
As far as I remember, the IsoApplet uses features introduced in JC 2.2.2 (getIncomingLength, getOffsetCData etc.) which builds upon Java SDK 1.5 [1]. As there is no possibility to go below JC 2.2.2, compiling the sources with -source 1.5 might make sense. In the source code of ant-javacard I found:
Where did you get that information from? See the link below, JC 2.2.2 should be JDK 1.5. I am currently using -source 1.5 as well. [1] http://www.oracle.com/technetwork/java/javacard/documentation/releasenotes-jcspecspw-2-2-2-142671.html - "Java Card platform language aligned with JDK^TM version 1.5 technology and tools" |
Interesting. I really don't remember but it should have come from some empirical tests that are apparently wrong. I'll need to look into this. Thanks for noticing. |
I'd rather not have the ant-javacard.jar binary in the version control. There are two ways to get around this; either have the user/contributor download ant-javacard.jar himself or including the ant-javacard source code as git submodule ( Either way, could you please rebase your commit to not include the ant-javacard.jar binary?
|
This works on all platforms and all JavaCard SDK versions and is more pleasing to eye.
What about this ? |
Perfect, thank you! Applied. |
This works on all platforms and all JavaCard SDK versions
and is more pleasing to eye.