David,

Flash/Flex Builder doesn't support source files in jar format.

Linking to Flex SDK artifacts from the Maven repo causes problems with
the Flash/Flex Builder IDE. I have spent lots of time trying to make
this work with no success. Only solution to get the IDE to work
correctly is to treat all Flex SDK artifacts the same way the IDE does
which is to reference the Flex SDK as packaged by Adobe. When this is
done then things just work as expected.

An interesting option for non Flex SDK source jars might be to extract
the sources in the local maven repo and link from there. Currently the
Flash/Flex Builder goals don't do this though.

Lance

On Aug 31, 10:50 am, <[email protected]> wrote:
> David,
>
> I'm talking about the ability to browse the sources of the framework
> swcs from Flash Builder, when using an SDK from a maven repo.
>
> The framework source files are packaged as jar files, which Flash
> Builder does not seem to support. I believe that IDEA will support them.
>
> If you manually extract the sources from the jars in your local repo to
> a directory then set the source attachment path to that directory then
> that works. This may well become the basis of some kind of work around
> script unless anyone has any other suggestions!.
>
> If you generate a Flex Bulider project then you are correct, your
> generated project will indeed gain a reference to both your installed
> sdk AND the sdk in Maven. This doesn't seem to happen if you generate a
> flexmojos:flashbuilder project though, you only get references to the
> swc files in your repo. You still won't be able to browse the sources
> out of the box though ;)
>
> Gavin.
>
> ============================
> Gavin Lauchlan
> Securities eCommerce IT
> UBS Investment Bank
> Office: +44 207 568 2029
> ============================
>
> [disclaim.txt1K ]Visit our website athttp://www.ubs.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mails are not encrypted and cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost,
> destroyed, arrive late or incomplete, or contain viruses.  The sender
> therefore does not accept liability for any errors or omissions in the
> contents of this message which arise as a result of e-mail transmission.  
> If verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities
> or related financial instruments.
>
> UBS Limited is a company registered in England & Wales under company
> number 2035362, whose registered office is at 1 Finsbury Avenue,
> London, EC2M 2PP, United Kingdom.
>
> UBS AG (London Branch) is registered as a branch of a foreign company
> under number BR004507, whose registered office is at
> 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.
>
> UBS Clearing and Execution Services Limited is a company registered
> in England & Wales under company number 03123037, whose registered
> office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.
>
> UBS reserves the right to retain all messages. Messages are protected
> and accessed only in legally justified cases.

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