Damn CTRL+S.. someday i'll stop doing this on my browser. Weird that it submits the post anyway :/..
So, i use this batch file to package the ANE :
set signing_options=-storetype pkcs12 -keystore "D:\NativeExtensions\HelloWorld\flash\assets\certificate.p12" -storepass XXXX
"%air_directory%"\adt -package %signing_options% -tsa none -target ane "%dest_ANE%" "%extension_XML%" -swc "%library_SWC%" -platform Windows-x86 "%library_SWF%" -C %library_directory%
And all i get is the following error :
Missing native library implementation "HelloWorld.jar" for platform Windows-x86
I put my HelloWorld.jar aside the batch file, tried to put it on a "Windows" folder and many other things... but can't get rid of this error.
I can't find nothing about this error anywhere (neither here http://help.adobe.com/en_US/air/build/WSBE9908A0-8E3A-4329-8ABD-12F2A19AB5E9.html) so i'm a bit stuck.
I'm certainly missing a point here but don't know what.
Any help would be much apreciated because i have no idea where the problem comes from :/
I finally got it working.
The problem came from the command line.
I included all the "assets" folder on the extension instead of setting just the JAR file as follow :
"%air_directory%"\adt -package %signing_options% -tsa none -target ane "%dest_ANE%" "%extension_XML%" -swc "%library_SWC%" -platform Windows-x86 "%library_SWF%" "%library_JAR%"
Actually i think it would be hard to get a JAVA ANE runing on windows.
Because by defautl windows just doesn't know how to run a jar file.
I guess we would have to package the JRE/JVM/whatever with the application or something like that... anyway, it's far outside of my small skills ^^..
At least i succeed having a java extension working on android, so the extension is good.
The problem is more the execution.