03-11-2013 10:25 AM
After making my app under linux with Cascades, I was able to build it and test it with the simulator.
However I am unable to find how to sign the application or how to get the ".bar" file. I can only find ".so" files located under the "arm" folder.
I already get the signing key and configure the IDE with the following documentation : http://developer.blackberry.com/cascades/documenta
but I was unable to find more documentation about the actual signing step.
Also I would also like to know how I can build and sign my app with a command line, so I can configure Hudson for continuous integration.
03-11-2013 11:24 AM
03-11-2013 08:44 PM - edited 03-11-2013 08:45 PM
Momentics uses .pro files, so it should be possible to build the project by calling qmake with proper parameters.
Check the console logs in Momentics to see which commands it's calling:
**** Build of configuration Device-Release for project Test **** make Device-Release cd arm && /Applications/bbndk/host_10_0_9_534/darwin/x86/usr
/bin/qmake -spec blackberry-armv7le-qcc ../Test.pro CONFIG+=debug_and_release CONFIG+=device
For BAR signing perhaps this thread can help:
and the script:
These are for Qt Creator, but I think similar approach should work for Momentics as well.
When creating AppWorld builds make sure that the BAR file wasn't built in development mode. To do this unpack the BAR with unzip utility and check that the following field is present and is set to 'false' in META-INF/MANIFEST.MF: