Can I ask you to share the secret sauce on getting a project to work
with both a flex and maven nature?  I've been struggling with two
issues:

1) The SDK:  If I don't manually install the SDK and point the project
library to it, I get 200+ build errors.  I've added every flex maven
dependency i can find by hand.

2) Import:  If I import the project as a maven project, then FB4 shuts
down on me (no code hinting, etc.).  If I import as a Flex project
then maven goodness is lost!

thx,
Dave

On Aug 6, 1:12 am, Michael Bushe <[email protected]> wrote:
> Since some of my clients also loathed the of switching to IDEA (until they
> saw how great it was) and were using FB4, I did get this working, but each
> time the projects were recreated a series of 4-5 fixes needed to be
> applied to each project (and we have many projects).  What is needed is
> someone to contribute a fix-up to the flexbuilder mojo that works better.
>  It would be fairly easy to take what's generated, fix it up by hand,
> compare the differences, then automate it.  VELO is not going to do it,
> and personally, I'd rather see his time spent elsewhere.  Since my clients
> decided to adopt IDEA, I didn't bother getting around to it, maybe someday.
>
> Michael
>
> On 8/5/10 4:40 PM, "David Vree" <[email protected]> wrote:
>
> >Its almost like we need an "Maven Flex SDK Builder" plug-in for
> >Eclipse.  Configure it to "make" a Flex SDK from downloaded Maven
> >artifacts.  Perhaps an add-on to m2eclipse?
>
> >Conversely we could stick the zipped up SDK into Nexus and have some
> >kind of "SDK Unpacker" plugin for Eclipse that makes it available for
> >FB4.
>
> >It simply isn't realistic to think that every developer on a project
> >is going to sync-up their manually installed SDK version with the
> >maven obtained swc files.   Isn't that what we use Maven for?
>
> >On Aug 5, 4:14 pm, Jay Proulx <[email protected]> wrote:
> >> I agree, it would be awesome for maven to provide the SDK for you in
> >>Flash
> >> Builder, but Maven doesn't have a compatible file structure.
>
> >> Maybe you could write a maven deployment script to "deploy" your SDK for
> >> you.
>
> >> Jay
>
> >> On Thu, Aug 5, 2010 at 4:10 PM, David Vree <[email protected]>
> >>wrote:
> >> > Perhaps I am barking up the wrong tree here.  FB4 *requires* an SDK,
> >> > and I can't find a way to fool it into believe an external user
> >> > library *is* that SDK.   So either way, looks like any developer that
> >> > wants to use FB4 is going to have to manually install the exact same
> >> > SDK version specified in the project POM to ensure tooling and maven
> >> > build compatibility.
>
> >> > Major bummer...
>
> >> > On Aug 5, 1:13 pm, David Vree <[email protected]> wrote:
> >> > > I have a flexmojos archetype generated swc project.
>
> >> > > In addition to the external library dependency on all the maven
> >> > > downloaded artifacts, it has a library dependency on my locally
> >> > > installed Flex SDK - which seems to me to be unnecessary given the
> >> > > fact that one of the key benefits of using flexmojos is to obtain
> >> > > precise versions of the FlexSDK for all the developers.  However,
> >>when
> >> > > I remove the SDK dependency I get tons of build undefined symbol
> >> > > errors and/or "base class Object not found".
>
> >> > > Thinking it was a problem with the external library configuration
> >>for
> >> > > the project, I tried a few things:
>
> >> > > 1. manually added the flashplayerglobal swc's to the external
> >>library
> >> > > definition, but no joy.
>
> >> > > 2. carefully inspected the maven dependencies of flex-
> >> > > framework-4.1.0-16248 in order to verify that every swc file is
> >> > > included in the external library definition.
>
> >> > > Any help is greatly appreciated
>
> >> > --
> >> > 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%2bunsubscr...@googlegr
> >>oups.com>
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/flex-mojos
>
> >> >http://flexmojos.sonatype.org/
>
> >> --
> >> Jay Proulx
> >> pollensoft
> >> [email protected]
>
> >--
> >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