Resource Bundle Support?

daniel.skiles's Avatar

daniel.skiles

10 Aug, 2011 03:56 PM

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. Support Staff 1 Posted by Yennick Trevels on 10 Aug, 2011 07:15 PM

    Yennick Trevels's Avatar

    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.

  2. Yennick Trevels closed this discussion on 16 Oct, 2011 11:56 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac