Does your plugin support resource bundles? I'm looking to move off of a custom script that I'm currently using, but looking through your conventions I can't seem to find an analogue to the oem-compiler library's addResourceBundle() method for library objects.
Also, do you have any plans to use the flex-oem-compiler jar directly in the future? I've run into some problems in the past with the ant tasks hitting a command line length wall in windows systems.
#1 Posted by Yennick Trevels Support staff on 10 Aug, 2011 07:15 PM
The plugin supports resource bundles. In fact it support every compc/mxmlc compiler option, these options can be found in these two locations:
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c...
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c...
include-resource-bundles is probably the option you need.
Another way to include a resource bundle is by specifying it as a dependency. I haven't tried this myself for resource bundles, but since they are swc's like any other library it should work.
We are using the mxmlc.jar and compc.jar files to create the build. We don't use the api directly though, we use an Ant command to call it as a java task. I also found Flex ant tasks somewhat limiting, that's why we went with the java tasks.
Yennick Trevels closed this discussion on 16 Oct, 2011 11:56 AM.