1. Open Eclipse/Flex Builder Preferences, then go to General -> Workspace -> Linked Resources. 2. Click the New... button, put M2_REPO as the Name, and the path to your M2 repo in the Location field (for me on the Mac it's /Users/logan/.m2/repository). 3. Clean the project (Project->Clean...).
That should fix it. Logan On Fri, Nov 13, 2009 at 10:52 AM, Marvin Froeder <[email protected]> wrote: > Not sure how to configure flexbuilder to use M2_REPO, I did that once, just > don't recall, I will ping the user who made the patch.... hopefully he > knows. > > VELO > > On Fri, Nov 13, 2009 at 3:36 PM, Bruno Medeiros <[email protected]> wrote: >> >> Hi Marvin and all! >> >> I've been reading some messages of this list since 1 year ago, but never >> had time to mavenize my flex projects. >> This week I needed to release some versions of many libraries and it's >> almost infeasible without maven release plugin, so i said: >> It's time to mavenize! >> >> I am very surprised with how mature is flex mojos! Thanks for all for the >> hard work! >> >> The only problem i have now is with flexmojos:flexbuider goal. I >> configured the project to use M2_REPO variable, like this: >> >> <plugin> >> <groupId>org.sonatype.flexmojos</groupId> >> <artifactId>flexmojos-maven-plugin</artifactId> >> <version>3.4.2</version> >> <extensions>true</extensions> >> <configuration> >> <enableM2e>true</enableM2e> >> <useM2Home>true</useM2Home> >> </configuration> >> </plugin> >> >> >> But after refreshing the project to get the files created by flexbuilder >> goal, the flex builder gives me the following error: >> >> configuration variable 'compiler.library-path' value contains unknown >> token 'M2_HOME' >> >> The variable seems to be ok in the preferences window. >> >> It would be so good to me having this working. If it doesn't work, i would >> have to avoid run the flexbuilder goal and replicate my libs on the libs >> folder, and it's not so good.. >> >> Some ideas? >> >> Thanks! >> >> >> -------- >> BrunoJCM >> >> -- >> 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/ > > -- > 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/ -- 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/
