What is your problem, creating the RSL os moving it somewhere else?

VELO

On Wed, Sep 15, 2010 at 8:59 PM, Rupert <[email protected]> wrote:

> So, I exhausted all the direct approaches for this and still no luck.
> Any hints greatly appreciated.
>
> For now, I couldn't invest more time so cheated the SWFs into the .m2/
> repository next to the SWC, declare a double-dependency for each SWC/
> SWF and used maven-dependency-plugin:copy-dependencies with
> includeTypes=swf and stripVersion to get me those SWFs as well (I'm
> already doing that for the generate-rsl'd SWFs for our AIR build -- is
> that right, too?)
>
> Btw, I did try to get maven-dependency-plugin:unpack to work.  It
> successfully unpacked the library.swf from the SWC but I couldn't
> figure out how to rename.  Looks like assembly is the only way to do
> but don't fully understand them and wasn't sure whether-to/how-to wire
> them in before AIR build so that everything would be included.  (it
> looked like I might be able to bind them to an earlier phase / bind
> AIR build later but then I'd end up copying from target to target...
> bletch)
>
> Obviously, the klude-copy-into-.m2/repository approach requires all
> our developers perform this kluge :-( so rather need an answer if
> anyone can, please!
>
> Thanks, Rupert.
>
> On Sep 14, 8:15 am, Rupert Key <[email protected]> wrote:
> >  Hi, Velo
> > Thanks for the fast response, as always.
> > I'm probably being dense but I cannot seem to figure out how to get what
> your
> > answer to work for me.  I'll keep trying but perhaps you (or someone)
> could
> > validate what I'm supposed to do (and perhaps spot the error).
> >
> > If the library I wish to link is L1.  The SWC I wish to use as RSL is in
> remote
> > repository R1 and (from previous compilations), also .m2/respository
> > There is no L1 SWF (for RSL) anywhere (vs. those I build from src where
> the RSL
> > SWF is placed in the repository).
> >
> > So, per your instructions, I create a POM with package type "swc", I
> guess I'd
> > have to set L1 as a dependency with type "swc" and scope "rsl" or scope
> > "caching".  Still, no RSL SWF is placed in "target".
> >
> > Alternatively, I do the same for the application/AIR POM and I get the
> same result.
> >
> > Obviously, I'm missing something.  Any advice?
> >
> > Thanks in advance,
> > Rupert.
> >
> > On 09/09/2010 02:39, Marvin Froeder wrote:
> >
> > > Just set the package as swc and the rsl will be automatically created
> on FM4.
> >
> > > VELO
> >
> > > On Wed, Sep 8, 2010 at 6:54 PM, Rupert <[email protected]
> > > <mailto:[email protected]>> wrote:
> >
> > >     Hi,
> > >     How can one create an RSL from a SWC using FlexMojos 4?
> >
> > >     We have SWCs that we're not building from source that I would like
> to
> > >     use as RSLs with our application (e.g. Parsley).  I realise I can
> > >     probably convert and deposit into the repository manually but I'd
> > >     prefer to auto-build since this wouldn't require use of either (a)
> an
> > >     internal repository or (b) manual steps to build.
> >
> > >     All thoughts welcome!
> > >     Thanks, 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]<flex-mojos%[email protected]>
> > >     
> > > <mailto:flex-mojos%[email protected]<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]<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]<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/

Reply via email to