Downloaded a clean version from SVN and that indeed works... albeit with "3.8-SNAPSHOT" (which it self-sets).
Switching the "/pom.xml" to "<version>4.0-SNAPSHOT</version>" starts giving problems (first the "optimize" vs. "optimize-swf" = easy to fix) then on to the generated classes not being found (fixed in my previous w/s, also easy to fix but this leads to a question I guess I should have asked to start with...) What's the state of FlexMojos 4? A: We 'need' (must have): wholly Flex4, FlexUnit 4 tested, multiple Flex-Modules, multiple RSLs, BlazeDS/LCDS use from a Flex-Module all in an AIR output. B: We'd 'like': code coverage and small footprints. (which I understand are the 2 primary features of FM 4, right? What's our best path? Should we use 3.x FM for now? (how long, do you think? Obviously, it'd be nicer to create the POMs once for FM4 rather than doing 3 then potentially changing.) Thanks, R. On Aug 16, 12:57 pm, Marvin Froeder <[email protected]> wrote: > Well, indeed there was some miss configuration on the todolist project, > which I fixed on 4.x branch. > > Although I got some errors, I did not get whatever you saw! > > VELO > > On Sun, Aug 15, 2010 at 11:40 PM, Rupert <[email protected]> wrote: > > p.s. In case relevant, here're the contents of my $HOME\.m2\repository > > \info\rvin\itest > > ==== > > \---l10n-lib > > | maven-metadata-local.xml > > | > > \---1.0-SNAPSHOT > > l10n-lib-1.0-SNAPSHOT.pom > > l10n-lib-1.0-SNAPSHOT.rb.swc.lastUpdated > > l10n-lib-1.0-SNAPSHOT.swc > > l10n-lib-1.0-SNAPSHOT.swf > > maven-metadata-local.xml > > ==== > > > On Aug 16, 3:35 am, Rupert <[email protected]> wrote: > > > First up, thanks for the speedy response! (I've seen you get that a > > > lot :-) ) > > > > Ahhh... Well, I looked athttp:// > > repository.sonatype.org/content/groups/flexgroup/org/sonatype/... > > > and saw that <latest> and <release> were both "4.0-pre-alpha-1" so > > > concluded that was the best one to go for! > > > > Since my post, I've just been trying "4.0-SNAPSHOT" instead for > > > completely different errors! I've now tried "4.0-alpha-4" and see the > > > same errors which I've excerpted below. I can post the full file if > > > it'd help. > > > Thanks in advance! > > > Rupert. > > > > ==== > > > [DEBUG] Skipping update check for snapshot info.rvin.itest:l10n-lib: > > > 1.0-SNAPSHOT (C:\Users\MyUser\.m2\repository\info\rvin\itest\l10n-lib > > > \1.0-SNAPSHOT\maven-metadata-forge.xml) from repository forge (http:// > > > repository.sonatype.org/content/groups/flexgroup) in favor of local > > > copy > > > [DEBUG] Skipping update check for snapshot info.rvin.itest:l10n-lib: > > > 1.0-SNAPSHOT (C:\Users\MyUser\.m2\repository\info\rvin\itest\l10n-lib > > > \1.0-SNAPSHOT\maven-metadata-flexmojos-repository.xml) from disabled > > > repository flexmojos-repository (http://repository.sonatype.org/ > > > content/groups/flexgroup/) > > > [DEBUG] Skipping update check for snapshot info.rvin.itest:l10n-lib: > > > 1.0-SNAPSHOT (C:\Users\MyUser\.m2\repository\info\rvin\itest\l10n-lib > > > \1.0-SNAPSHOT\maven-metadata-central.xml) from disabled repository > > > central (http://repo1.maven.org/maven2) > > > [DEBUG] l10n-lib: using locally installed snapshot > > > [DEBUG] Determining update check for info.rvin.itest:l10n-lib:rb.swc: > > > 1.0-SNAPSHOT:compile (C:\Users\MyUser\.m2\repository\info\rvin\itest > > > \l10n-lib\1.0-SNAPSHOT\l10n-lib-1.0-SNAPSHOT.rb.swc) from forge > > > (http://repository.sonatype.org/content/groups/flexgroup) > > > [DEBUG] Searching forhttp:// > > repository.sonatype.org/content/groups/flexgroup > > > in resolution tracking file. > > > [DEBUG] Reading resolution-state from: C:\Users\MyUser\.m2\repository > > > \info\rvin\itest\l10n-lib\1.0-SNAPSHOT\l10n-lib-1.0- > > > SNAPSHOT.rb.swc.lastUpdated > > > [DEBUG] Reading resolution-state from: C:\Users\MyUser\.m2\repository > > > \info\rvin\itest\l10n-lib\1.0-SNAPSHOT\l10n-lib-1.0- > > > SNAPSHOT.rb.swc.lastUpdated > > > [DEBUG] Unable to find artifact info.rvin.itest:l10n-lib:rb.swc:1.0- > > > SNAPSHOT in repository forge (http://repository.sonatype.org/content/ > > > groups/flexgroup) > > > org.apache.maven.wagon.ResourceDoesNotExistException: Failure to > > > resolve info/rvin/itest/l10n-lib/1.0-SNAPSHOT/l10n-lib-1.0- > > > SNAPSHOT.rb.swc fromhttp:// > > repository.sonatype.org/content/groups/flexgroup > > > was cached in the local repository. Resolution will not be reattempted > > > until the update interval of forge has elapsed or updates are forced. > > > at > > > org.apache.maven.repository.legacy.DefaultWagonManager.getArtifact(DefaultWagonManager.java: > > > 132) > > > at > > > org.apache.maven.repository.legacy.DefaultWagonManager.getArtifact(DefaultWagonManager.java: > > > 150) > > > at > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java: > > > 251) > > > at > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.access > > > $000(DefaultArtifactResolver.java:73) > > > at org.apache.maven.artifact.resolver.DefaultArtifactResolver > > > $ResolveTask.run(DefaultArtifactResolver.java:689) > > > at java.util.concurrent.ThreadPoolExecutor > > > $Worker.runTask(ThreadPoolExecutor.java:886) > > > at java.util.concurrent.ThreadPoolExecutor > > > $Worker.run(ThreadPoolExecutor.java:908) > > > at java.lang.Thread.run(Thread.java:619) > > > [DEBUG] Skipping disabled repository flexmojos-repository for > > > resolution of info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT > > > [DEBUG] Skipping disabled repository central for resolution of > > > info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT > > > [INFO] > > > ------------------------------------------------------------------------ > > > [INFO] Reactor Summary: > > > [INFO] > > > [INFO] l10n-lib .......................................... SUCCESS > > > [7.503s] > > > [INFO] l10n-app .......................................... FAILURE > > > [1.632s] > > > [INFO] l10n-swc-swf ...................................... SKIPPED > > > [INFO] > > > ------------------------------------------------------------------------ > > > [INFO] BUILD FAILURE > > > [INFO] > > > ------------------------------------------------------------------------ > > > [INFO] Total time: 10.350s > > > [INFO] Finished at: Mon Aug 16 03:21:42 BST 2010 > > > [INFO] Final Memory: 9M/58M > > > [INFO] > > > ------------------------------------------------------------------------ > > > [ERROR] Failed to execute goal on project l10n-app: Missing: > > > ---------- > > > 1) info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > > mvn install:install-file -DgroupId=info.rvin.itest - > > > DartifactId=l10n-lib -Dversion=1.0-SNAPSHOT -Dpackaging=rb.swc -Dfile=/ > > > path/to/file > > > > Alternatively, if you host your own repository you can deploy the > > > file there: > > > mvn deploy:deploy-file -DgroupId=info.rvin.itest - > > > DartifactId=l10n-lib -Dversion=1.0-SNAPSHOT -Dpackaging=rb.swc -Dfile=/ > > > path/to/file -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > > 1) info.rvin.itest:l10n-app:pom:1.0-SNAPSHOT > > > 2) info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT > > > > ---------- > > > 1 required artifact is missing. > > > > for artifact: > > > info.rvin.itest:l10n-app:pom:1.0-SNAPSHOT > > > > from the specified remote repositories: > > > forge (http://repository.sonatype.org/content/groups/flexgroup, > > > releases=true, snapshots=true), > > > flexmojos-repository (http://repository.sonatype.org/content/groups/ > > > flexgroup/, releases=true, snapshots=false), > > > central (http://repo1.maven.org/maven2, releases=true, > > > snapshots=false) > > > -> [Help 1] > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > execute goal on project l10n-app: Missing: > > > ==== > > > > On Aug 16, 2:50 am, Marvin Froeder <[email protected]> wrote: > > > > > Quick question... why don't you use any of the alphas instead this old > > > > pre-alpha? 4.0-alpha-4 should be fine. > > > > > Sent from DROID > > > > > Em 15/08/2010 22:43, "Rupert" <[email protected]>escreveu: > > > > > Hi, > > > > > Short version: > > > > > Two questions: > > > > A: After working-around lots of other errors, I see... > > > > [ERROR] Unable to resolve resource bundle "text" for locale "en_US". > > > > ... in "l10n-swc-swf" and "todolist" but can't seem to solve! > > > > > B: What am I doing wrong that I've seen so many problems (see below) > > > > > Details: > > > > > Firstly, thanks for the great FlexMojos plugin! Despite my having > > > > problems, my project's highly likely to adopt once we can get past > > > > these problems. We look forward to use and, when we're better > > > > acquainted, perhaps helping out. So, niceties done and on to the > > > > pleading for help ;-) > > > > > In preparation of switching our multi- Flex-Modules and SWCs and RSLs > > > > AIR Flex4 project over to using FlexMojos, I thought I'd start with > > > > the 'todolist' project. I had some problems which I managed to > > > > workaround (see below) then hit a resource-bundle one (see (8) below) > > > > that I couldn't side-step. Checking the forum, I found reference to > > > > "l10n-swc-swf" so I tried that and saw many of the same problems. > > > > I've spent several hours trying to solve so figure its time to ask my > > > > two big questions: > > > > A: How to solve the resource bundle error > > > > B: What am I doing wrong that I've seen so many problems at all !? > > > > > For specificity, the projects I referred to above I checked-out with > > > > SVN from: > > > > http://svn.sonatype.org/flexmojos/trunk/flexmojos-touchstone/todolist > > > > >http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t. > > .. > > > > I've documented the 'l10n' problems since it's a simpler project. The > > > > differences between problems experienced are: > > > > > * 'todolist' has an extra "<scope>rsl</scope>" problem -- I had to > > > > remove it to get 'todolist' to find ITodoService and TodoItem symbols. > > > > * 'l10n' has the "flexmojos-flex-super-pom" complaint (see (5) below) > > > > which I'm not sure what to do about. > > > > > Here are a reasonable list of my steps including things I've tried to > > > > workaround problems: > > > > > 1. Installed Maven 3.0-beta-1 (the most recent, at FlexMojos > > > > request for a 3 alpha something?) > > > > 2. svn cohttp:// > > svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t... > > > > 3. I added what the readme advised adding to my $HOME/.m2/ > > > > settings.xml > > > > 4. "mvn -X clean install" and get failures due to "% > > > > {flexmojos.version}" appearing in the "lib" and "app" "pom.xml" as > > > > follows: > > > > > <parent> > > > > <groupId>org.sonatype.flexmojos</groupId> > > > > <artifactId>flexmojos-flex-super-pom</artifactId> > > > > <version>%{flexmojos.version}</version> > > > > </parent> > > > > > 5. I replaced these (both projects) with > > ... > > read more » -- 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 http://flexmojos.sonatype.org/
