Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Posts: 117
Registered: ‎12-03-2010
My Device: Not Specified

packaging & deployment question

[ Edited ]

Hi,

 

Once a new project created, by default, the project merge "default" libraries into it.

 

They are:

(1) Referenced Libraries:  blackberry.swc, qnx-screen.swc, qnx-air.swc

(2) they are under "BlackBerry Tablet OS SDK 0.9.1 for Adobe AIR" folder or

under "Flex Hero" folder:

airglobal.swc, flex.swc, osmf.swc, textLayout.swc, and servicemonitor.swc.

 

My question is, are all these libraries automatically merge into project and get bundle into bar file ?

If my project never need  flex.swc  ( any flex package classes ) then can I remove it to reduce the bar side.

( how to remove no needed standard library ? )

( or these are default standard libraries, it always included, no matter needed or not ? )

 

Thanks for your help.

 

( fyi.  I am using  Flash Builder "Burrito" Premium Preview  ( try version ). )

Highlighted
Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: packaging & deployment question

i think to be safe you should just leave them be. i doubt they take up any significant space if they are left in your build. better safe than sorry

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: packaging & deployment question

[ Edited ]

The .bar files are merely .zip files with a different extension.  If you want to see what is inside the .bar file, use an unzip program, possiblying renaming temporarily to have a .zip extension first. 

 

If something is not in that .bar file, it is not bundled and installed with your app so you can safely ignore it.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!