Hi Adam, There are a couple of steps that I followed to get this working. Probably, you may find it useful.
1. First extract the source for datavisualization. [ http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html] 2. Copy the datavisualization folder under fbpro/projects to <flexbuilderHome>/sdks/3.3.0.4852/frameworks/projects 3. Navigate to the <flexbuilderHome>/sdks/3.3.0.4852/frameworks/projects/datavisualization/bundles/en_US. You will find one folder by name src and 3 other files [charts.properties, datamanagement.properties, olap.properties]. Copy these 3 files and place it inside the src folder. The copying of the files is mainly required if you are planning localization in other languages other than en_US where the necessary framework resource bundles have to be provided in the respective locales. This is typically done using the copylocale utility. 4. Use the flex-mojos.install-sdk to deploy the artifacts to your local maven repository. This should fix your problem. Let me know if the problem still persists. I will try to help you out with whatever little knowledge that I have. best regards sriraman. On Wed, Jun 3, 2009 at 3:13 PM, Adam <[email protected]> wrote: > > I have a dependency on Charts and AdvancedDatagrid. I have added the > following to my pom: > > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>datavisualization</artifactId> > <version>${flexVersion}</version> > <type>swc</type>< > </dependency> > > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>datavisualization</artifactId> > <version>${flexVersion}</version> > <type>resource-bundle</type> > <classifier>en_US</classifier> > </dependency> > > where flexVersion resolves to 3.3.0.4852 > > I think I installed the swc and resources bundle correctly, here were > my commands: > > mvn install:install-file -DgroupId=com.adobe.flex - > DartifactId=datavisualization -Dversion=3.3.0.4852 -Dpackaging=swc - > Dfile=/Users/adam/Flex/sdks/3.3/frameworks/libs/datavisualization.swc - > DgeneratePom=true > > mvn install:install-file -DgroupId=com.adobe.flex - > DartifactId=datavisualization -Dversion=3.3.0.4852 - > Dpackaging=resource-bundle -Dfile=/Users/adam/Flex/sdks/3.3/frameworks/ > locale/en_US/datavisualization_rb.swc -Dclassifier=en_US > > Both commands returned a success message and I can see the swc files > in my repo. Despite this I still keep getting the following error > message when I try to compile: > [ERROR] Unable to resolve resource bundle "datamanagement" for locale > "en_US". > [ERROR] Unable to resolve resource bundle "charts" for locale "en_US". > > I could really use some help on this, I have burned way too much time > on it already and I am really trying to resist going back to building > our distributable in the IDE > > Thanks, > > Adam > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
