01-09-2014 12:47 PM - edited 01-09-2014 12:49 PM
I AM little new to BB app dev environment and DEVELOPING ONE APP FOR BB10 , which include several module( thses modules are diffrent projects in IDE and .bar for each of them can be created easily), i want to combine all these modules in single .bar and if possible i should have the controle over the triggering of one module by other module.
Thanks in advance
01-10-2014 11:03 AM
You can't combine .bar files directly, but you can configure your main project to include all the sub-projects you want.
Momentics supports project dependencies in project "Properties" -> "Project References". This will allow you do have build-time dependencies per-project.
However, you will need a central bar-descriptor.xml that can generate a combined .bar file. One approach to do this is to add each library and supporting files to the main bar-descriptor manually. If you want to do this in an automated way, you will need to do some custom makefile work to copy each project's dependencies into itself, so the final project can do the same and include assets with a wildcard, ie: <asset path="lib">lib</asset> if your dependencies are stored in lib. Libraries in lib will automatically be added to the LD_LIBRARY_PATH and be made available to the main app.
01-10-2014 03:10 PM - edited 01-10-2014 03:12 PM
Thanks for the reply,
But when i am including an executable to the assets tag it shows some error in the package and as a type of this executable its shown as "Entry-Point". when i exclude this its all good.
01-10-2014 03:37 PM
01-15-2014 10:24 AM
You can include as many executables/binaries(or whatever you call it) in your .bar file but only one can and must be "Entry-Point" - this is where you app starts.