tag:support.gradlefx.org,2011-05-23:/discussions/questions/2-resource-bundle-supportGradleFx: Discussion 2011-10-16T11:58:12Ztag:support.gradlefx.org,2011-05-23:Comment/92121812011-08-10T15:56:32Z2011-08-10T15:56:34ZResource Bundle Support?<div><p>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.</p>
<p>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.</p></div>daniel.skilestag:support.gradlefx.org,2011-05-23:Comment/92121812011-08-10T19:15:50Z2011-08-10T19:16:26ZResource Bundle Support?<div><p>The plugin supports resource bundles. In fact it support every
compc/mxmlc compiler option, these options can be found in these
two locations:<br>
<a href=
"http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html">
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c...</a><br>
<a href=
"http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a80.html">
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c...</a></p>
<p>include-resource-bundles is probably the option you need.<br>
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.</p>
<p>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.</p></div>Yennick Trevels