erm, so either I'm being dumb or... well, I'm probably being dumb.
But I could really use someone pointing out what I'm missing.

I installed Maven 3-RC1 and added to .m2/settings.xml ...
 https://repository.apache.org/content/repositories/maven-030/
... for repositories and pluginRepositories.
I updated, I "clean install" FlexMojos (without tests) = SUCCESS.
I tried building my test app and saw this error:

[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:4.0-SNAPSHOT:compile-swc (default-compile-swc) on project
library: Unable to retrieve component configurator flexmojos for
configuration of mojo org.sonatype.flexmojos:flexmojos-maven-plugin:
4.0-SNAPSHOT:compile-swc: Component descriptor cannot be found in the
component repository
      role:
org.codehaus.plexus.component.configurator.ComponentConfigurator
  roleHint: flexmojos
classRealm: none specified

I thought I'd maybe built badly so I "clean install" FlexMojos (with
tests) = 54/122 test failures in "Flexmojos Integration Tests" but
that might be due to my system.  (debug FP, etc)
I disabled tests and used "mvn -rf :flexmojos-test-harness install" to
resume = SUCCESS.
I tried building my test app and saw same error.

I swear previously, I only needed to "clean install" and have been
able to use.
Like I said, hopefully being dumb but all advice welcome!
Thanks, Rupert.

On Sep 21, 2:46 pm, Rupert Key <[email protected]> wrote:
>  Excellent!  Thanks.
>
> I'm using Maven 3.0-beta-2.  Guess that's why I get an error talking about
> org.apache.maven:maven-artifact:jar:3.0-RC1.  I'll update and retry.
>
> Thanks, Rupert.
>
> On 21/09/2010 14:14, Marvin Froeder wrote:
>
> > You are absolutely right here, I place a fix on trunk, give it a shot and
> > lemme know how it goes.  BTW, what maven version are you using (I just 
> > bumped
> > flexmojos 4.0-SNAPSHOT to 3.0-RC1)
>
> > VELO
>
> > On Tue, Sep 21, 2010 at 10:09 AM, Rupert <[email protected]
> > <mailto:[email protected]>> wrote:
>
> >     hehe, I was actually meaning hunt *your* code for a solution.
> >     As it turns out, I lied!  I do have time to have a poke in the
> >     source :-D
>
> >     So I found...
> >     ./flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/
> >     compiler/AbstractFlexCompilerMojo.java line 2697...
>
> >        public IRuntimeSharedLibraryPath[] getRuntimeSharedLibraryPath()
> >        {
> >            // get all the rsl dependencies
> >            Set<Artifact> dependencies =
> >     getDependencies( not( GLOBAL_MATCHER ),//
>
> >     anyOf( scope( RSL ), scope( CACHING ), scope( EXTERNAL ) ) );
>
> >     I /hope/ that if I remove the reference to "scope(EXTERNAL)", it might
> >     be omitted from the RSL list.  I'm just refreshing my repo, cleaning
> >     and confirming I can still build (slight hitch here atm), then I'll
> >     try the change.  I understand it might not be what everyone wants but
> >     hopefully it'll sort us for now until we determine "The Right Way
> >     (tm)" to achieve our goal.
>
> >     Shout if something strikes as especially broken in my plan!
> >     Cheers, Rupert.
>
> >     On Sep 21, 1:40 pm, Marvin Froeder <[email protected]
> >     <mailto:[email protected]>> wrote:
> >     > On Tue, Sep 21, 2010 at 9:30 AM, Rupert <[email protected]
> >     <mailto:[email protected]>> wrote:
> >     > > ha, very funny :-)
> >     > > Seriously though, tell me if my expectation is incorrect.
>
> >     > > According to...
>
> >     > 
> > >https://docs.sonatype.org/display/FLEXMOJOS/Adding+libraries+to+compi...
> >     > > ... setting "external" should omit content, reference symbols but
> >     > > *not* cause RSL references from the SWF.  Unfortunately Operating
> >     > > System tracing shows the RSL SWFs and SWZs being loaded again at 
> > each
> >     > > Flex Module load and (and I guess this is part of your reason for 
> > the
> >     > > FAQ link), the config dump xml shows these scope:external libraries 
> > in
> >     > > the RSL list:
>
> >     > >      <external-library-path>
> >     > >         <path-element>C:\Users\MyUser\Dev\FlexMojoTest\simple-flex-
> >     > > modular\library\target\library-1.0-SNAPSHOT.swc</path-element>
> >     > >      </external-library-path>
>
> >     > > // (fine, I'd expect the above)
>
> >     > >   <runtime-shared-library-path>
> >     > >      <path-element>C:\Users\MyUser\Dev\FlexMojoTest\simple-flex-
> >     > > modular\library\target\library-1.0-SNAPSHOT.swc</path-element>
> >     > >      <rsl-url>../../../library.swf</rsl-url>
> >     > >      <policy-file-url>http://fpdownload.adobe.com/pub/swz/
> >     > > crossdomain.xml</policy-file-url>
> >     > >      <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/1.0-SNAPSHOT/
>
> >     
> > library_1.0-SNAPSHOT.swf<http://fpdownload.adobe.com/pub/swz/flex/1.0-SNAPSHOT/%0Alibrary_1.0-...>
> >     > > </rsl-url>
> >     > >   </runtime-shared-library-path>
>
> >     > > // (problem -- wouldn't expect this!  We're using scope:caching for
> >     > > the Adobe libraries hence the whacky RSL paths.  Regardless of how 
> > mad
> >     > > it looks, it actually works!)
>
> >     > > I can supply a output files or a customized version of simple-flex-
> >     > > modular that shows the behaviour, if helpful.  Tell me where you'd
> >     > > prefer I send it (direct to you?)
>
> >     > > Btw, in case you're wondering why I care so much, with the reloading
> >     > > of all RSLs for each module, they take ~1min to appear when 
> > requested
> >     > > (vs. <1second when linked correctly).  And we do N of them meaning 
> > our
> >     > > screen of these takes minutes to show :-(
>
> >     > > Sadly, we're in the middle of a deliverable deadline atm so I'm
> >     > > getting to desperate stakes here.  Had it been otherwise, I'd be 
> > happy
> >     > > to hunt the source and suggest a fix.
>
> >     > Sadly, only who has access to your code can hunt down this problem.
>
> >     > > Thanks as always, Rupert.
>
> >     > > On Sep 20, 7:57 pm, Marvin Froeder <[email protected]
> >     <mailto:[email protected]>> wrote:
> >     > > > Take a look on this link:http://flexmojos.sonatype.org/faq.html#9
>
> >     > > > Lemme know if it helps.
>
> >     > > > VELO
>
> >     > > > On Mon, Sep 20, 2010 at 3:54 PM, Rupert <[email protected]
> >     <mailto:[email protected]>> wrote:
> >     > > > > Hi,
> >     > > > > How can I get "external" linking for Modules to work in 
> > FlexMojos 4
> >     > > > > with Flex 4 as it seems to in FlashBuilder?
> >     > > > > When I set libraries as scope "external", they behave like 
> > RSLs.  Some
> >     > > > > details follow...
>
> >     > > > > We have the following:
> >     > > > > - client - 1 project that uses the all of following
> >     > > > > - 'content' - N * FlexMojo project that build M * Flex Modules 
> > each
> >     > > > > that are dynamically loaded into client
> >     > > > > - library projects:
> >     > > > >      client uses as FM scope:rsl.
> >     > > > >      content uses as FM scope:external
> >     > > > > - Adobe platform libraries:
> >     > > > >      client uses FM scope:caching.
> >     > > > >      content uses as FM scope:external
>
> >     > > > > At startup, client loads all RSLs then proceeds to load some 
> > content.
>
> >     > > > > In FlashBuilder, when the client loads content, all RSLs are 
> > already
> >     > > > > loaded by the client so all symbols resolve fine.
> >     > > > > In FlexMojos, when the client loads content, they each reload 
> > all
> >     > > > > RSLs !?!
> >     > > > > How can we stop this from happening?
>
> >     > > > > From what I can tell, FlexMojos 4 considers "external" the same 
> > as
> >     > > > > "rsl".  Is this expected or have I made a mistake?
>
> >     > > > > Example load order FlexMojos actual:
> >     > > > > client
> >     > > > >  adobe-rsl 1
> >     > > > >  adobe-rsl 2
> >     > > > >  our-rsl 1
> >     > > > >  our-rsl 2
> >     > > > >  our-module 1
> >     > > > >    adobe-rsl 1
> >     > > > >    adobe-rsl 2
> >     > > > >    our-rsl 1
> >     > > > >    our-rsl 2
> >     > > > >  our-module 2
> >     > > > >    adobe-rsl 1
> >     > > > >    adobe-rsl 2
> >     > > > >    our-rsl 1
> >     > > > >    our-rsl 2
> >     > > > >  ...
>
> >     > > > > Example load order FlashBuilder + desired:
> >     > > > > client
> >     > > > >  adobe-rsl 1
> >     > > > >  adobe-rsl 2
> >     > > > >  our-rsl 1
> >     > > > >  our-rsl 2
> >     > > > >  our-module 1
> >     > > > >  our-module 2
> >     > > > >  ...
>
> >     > > > > Thanks as always, Rupert.
>
> >     > > > > --
> >     > > > > 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]
> >     <mailto:[email protected]>
> >     > > > > To unsubscribe from this group, send email to
> >     > > > > [email protected]
> >     
> > <mailto:flex-mojos%[email protected]><flex-mojos%[email protected]
> >     <mailto:flex-mojos%[email protected]>>
> >     > > <flex-mojos%[email protected]
> >     
> > <mailto:flex-mojos%[email protected]><flex-mojos%[email protected]
> >     <mailto:flex-mojos%[email protected]>>
>
> >     > > > > For more options, visit this group at
> >     > > > >http://groups.google.com/group/flex-mojos
>
> >     > > > >http://flexmojos.sonatype.org/
>
> >     > > --
> >     > > 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]
> >     <mailto:[email protected]>
> >     > > To unsubscribe from this group, send email to
> >     > > [email protected]
> >     
> > <mailto:flex-mojos%[email protected]><flex-mojos%[email protected]
> >     <mailto:flex-mojos%[email protected]>>
> >     > > For more options, visit this group at
> >     > >http://groups.google.com/group/flex-mojos
>
> >     > >http://flexmojos.sonatype.org/
>
> >     --
> >     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]
> >     <mailto:[email protected]>
> >     To unsubscribe from this group, send email to
> >     [email protected]
> >     <mailto:flex-mojos%[email protected]>
> >     For more options, visit this group at
> >    http://groups.google.com/group/flex-mojos
>
> >    http://flexmojos.sonatype.org/
>
> > --
> > 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/

-- 
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/

Reply via email to