Hi Everyone
I am developing a Java Card applet using the Oracle java card dev kit (java_card_devkit_tools-bin-v24.0-b_57) and the Eclipse plug in. (java_card_devkit_eclipse_plugin-bin-v24.0-b_50).
I have added gpapi-globalplatform.jar to the build path and specified the root directory for exp files in the .conf file.
-exportpath C:\Tools\java_card_devkit_tools-bin-v24.0-b_57\api32_export_files
The CAP file is generated successfully. although it outputs an INFO message:
[ INFO: ] Export file C:\Tools\java_card_devkit_tools-bin-v24.0-b_57\api32_export_files\org\globalplatform\javacard\globalplatform.exp is in an older export file format. Please update the export file to format 2.3.
However, CAP file verification fails
[ INFO: ] Verifying CAP file \C:\Users\john.neeson_itso\eclipse-workspace\CMD11-Media\deliverables\iimd\uk\org\itso\iimd\javacard\iimd.cap\
Error: Cannot find export file for imported package a0:0:0:1:51:0
Please provide the correct export file
Verification completed with 0 warnings and 1 error.
a0:0:0:1:51:0
is the org.globalplatform package AID
It appears that the converter can find globalplatform.exp (using specified -exportpath), but the CAP verification tool cannot find it. It does not say where it is looking for it, even with the -verbose option.
How can I configure Eclipse so that the CAP verification tool is able to find globalplatform.exp ?
Note: verifycap.bat works from the command line - parameters being full path to the CAP and globalplatform.exp files. The same [ INFO ] message, re the globalplatform.exp
format is issued, but it does not seem to matter.
Thanks
John Neeson