I have created a native HelloWorld application for BlackBerry 10 using BB NDK 10.0.9 and running it inside a simulator. I use Momentics IDE and can easily compile and deploy my application.
However, i want to setup an automated build process from the command line. I was able to compile ELF binary using makefile. But i am stuck in creation of .bar file.
I try to build .bar with the command:
blackberry-airpackager.bat -package HelloWorld2.bar application.xml
but the target .bar does not contain my native binary.
What am i doing wrong?
There is a special packager for native applications:
blackberry-nativepackagerThis code did the trick:
And yet another configuration was added to
bar-descriptor.xmlbesides the simulator: