Pour preciser, j'utilise le ANT de J2ME Polish pour compiler mon appli.
Le manuel de l'appli precise que pour les librairies jar externe on peut:
Citation :
Integrating Binary Third-Party APIs
When a third-party API is available only in binary form, you can integrate it with the <libraries>
element of the <build> section in your build.xml script. This element can point to JAR or ZIP
files or to a directory containing third-party libraries (either JAR files, ZIP files, or classfiles).
When the libraries are situated in the ${polish.home}/import folder, only the names of the
libraries need to be given (instead of specifying the full path).
|
Dans mon ANT j'ai donc ajouté le chemin vers mes lib, mais lors du build, j'obtiens cette belle erreur de securité ANT:
Code :
- <build>
- <libraries>
- <library file="lib/malib1.jar"/>
- <library file="lib/malib2.jar"/>
- </libraries>
- ...
|
Code :
- C:localWPMAbuild.xml:82: Unable to execute J2ME Polish task: org.netbeans.core.execution.ExitSecurityException: Exit from within execution engine, normal
- BUILD FAILED
|
Message édité par white-rabbit le 10-10-2007 à 10:41:24
---------------
>> Portfolio: www.MyDeclic.com