Not questioning anyone competence, just stating you information do not
match....

Either FB is not using 4.5 SDK, or different version of as3commons or
anything else that I have no clue.  Flexmojos do not implements a custom
compiler if you are invoking FM same way you are invoking FB you get same
results.  Since you are not......

I insiste go FAQ
http://flexmojos.sonatype.org/faq.html#9



VELO

On Thu, Sep 29, 2011 at 2:29 PM, Javier Delgadillo <[email protected]
> wrote:

> I built it myself on FlashBuilder as do 3 other developers. It builds. If
> you can't help then please observe and don't draw into question my
> competence.
> On Sep 29, 2011 10:23 AM, "Marvin Froeder" <[email protected]> wrote:
> > By knowing your dependencies...
> >
> > Right now, I really doubt this build on flashbuilder, flexbuilder, fdt,
> or
> > anywhere else............
> >
> > On Thu, Sep 29, 2011 at 2:17 PM, Javier Delgadillo <
> [email protected]
> >> wrote:
> >
> >> I've been working on several things, so I haven't dedicated too much
> >> time to this problem.
> >>
> >> One thing of note:
> >> I commented out all dependencies in the pom.xml and started adding
> >> them back. After adding as3commons.lang, I get the following error
> >> (where I would normally expect symbol not found errors):
> >>
> >> C:\Users\javi4211\.m2\repository\com\adobe\flex\framework\spark
> >> \4.5.0.20967\spark-4.5.0.20967.swc(spark.components:SkinnableContainer)
> >>
> >> Error: Type was not found or was not a compile-time constant:
> >> [mx.core]::IDeferredContentOwner.
> >>
> >> C:\Users\javi4211\.m2\repository\com\adobe\flex\framework\spark
> >> \4.5.0.20967\spark-4.5.0.20967.swc(spark.components:SkinnableContainer)
> >>
> >> Error: Type was not found or was not a compile-time constant:
> >> [mx.core]::IVisualElementContainer.
> >>
> >> C:\Users\javi4211\.m2\repository\com\adobe\flex\framework\spark
> >> \4.5.0.20967\spark-4.5.0.20967.swc(spark.core:IViewport)
> >>
> >> Error: Type was not found or was not a compile-time constant:
> >> [mx.core]::IVisualElement.
> >>
> >> C:\Users\javi4211\.m2\repository\com\adobe\flex\framework\spark
> >> \4.5.0.20967\spark-4.5.0.20967.swc(spark.core:IGraphicElement)
> >>
> >> Error: Type was not found or was not a compile-time constant:
> >> [mx.core]::IVisualElement.
> >>
> >> Here's the dependency:
> >> <dependency>
> >> <groupId>org.as3commons</groupId>
> >> <artifactId>as3commons-lang</artifactId>
> >> <version>0.3.4</version>
> >> <type>swc</type>
> >> <exclusions>
> >> <exclusion>
> >> <groupId> com.adobe.flex.framework</groupId>
> >> <artifactId>playerglobal</artifactId>
> >> </exclusion>
> >> </exclusions>
> >> </dependency>
> >>
> >> I had to add the exclusions, otherwise flexmojos would complain that
> >> the frameworks were mismatched listed below.
> >> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> >> plugin:4.0-RC2:compile-swf (default-compile-swf) on project
> >> mapstudioapp: Execution default-compile-swf of goal
> >> org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:compile-swf
> >> failed: Flex compiler and flex framework versions doesn't match.
> >> Compiler: '4.5.0.20967' - Framework: '3.5.0.12683'.
> >>
> >> I do believe it's because one or more dependencies are built for an
> >> earlier version of flexsdk, but how can I figure that out?
> >>
> >> -Javier
> >>
> >>
> >> On Sep 29, 9:03 am, Marvin Froeder <[email protected]> wrote:
> >> > I just revisited this issue... and as more I look at it more feel like
> >> you
> >> > have one swc dependency that was built for flex 4.1 or even
> 3.something
> >> and
> >> > it isn't compatible with flex 4.5.1.
> >> >
> >> > I have a same air app here that help to turn a FB project into a
> >> pom.xml....
> >> > may be I should share it....
> >> >
> >> > On Mon, Sep 26, 2011 at 9:16 PM, Javier Delgadillo <
> >> [email protected]
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > > wrote:
> >> > > All,
> >> >
> >> > > I'm stuck and was wondering if someone would help me with this
> >> > > problem.
> >> >
> >> > > I'm trying to upgrade an existing project to flexmojos 4.0, flexsdk
> >> > > 4.5.1, and maven 3.0.3
> >> >
> >> > > The project was working with flexmojos 3.8, flexsdk 4.1.0, and maven
> >> > > 2.2.1
> >> >
> >> > > The project is a multiproject build with 4 swc projects and one swf
> >> > > project. The swf project depends on all the other swc projects. All
> >> > > the swc project compile OK, but the SWF project fails to compile.
> >> >
> >> > > Here's the compile time error:
> >> >
> >> > > [INFO] --- flexmojos-maven-plugin:4.0-RC2:compile-swf
> (default-compile-
> >> > > swf) @ flexapp ---
> >> > > [INFO] Flexmojos 4.0-RC2
> >> > > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
> >> > > file
> >> > > Writing configuration dump to <source path removed>\target\aoo-
> >> > > configs.xml
> >> > > C:\Users\username\.m2\repository\com\adobe\flex\framework\mx
> >> > > \4.5.1.21328\mx-4.5.1.21328.swc(mx.containers:ViewStack)
> >> >
> >> > > Error: Type was not found or was not a compile-time constant:
> >> > > [mx.core]::ISelectableList.
> >> >
> >> > > C:\Users\javi4211\.m2\repository\com\adobe\flex\framework\mx
> >> > > \4.5.1.21328\mx-4.5.1.21328.swc(mx.controls:TextInput)
> >> >
> >> > > Error: Type was not found or was not a compile-time constant:
> >> > > [mx.core]::ITextInput.
> >> >
> >> > > <source path removed>\target
> >> >
> >> > >
> >>
> \districtinglibs.swc(_com_esri_districtLib_controls_ProgressPanelWatcherSetupUtil)
> >> >
> >> > > Error: Type was not found or was not a compile-time constant:
> >> > > [mx.binding]::IWatcherSetupUtil2.
> >> >
> >> > > C:\Users\username\.m2\repository\com\adobe\flex\framework\mx
> >> >
> >> > >
> >>
> \4.5.1.21328\mx-4.5.1.21328.swc(_mx_controls_RichTextEditorWatcherSetupUtil)
> >> >
> >> > > Error: Type was not found or was not a compile-time constant:
> >> > > [mx.binding]::IWatcherSetupUtil2.
> >> >
> >> > > <source path removed>\target
> >> > > \redlining.swc(_xxx_xxxx_xxxxxxxx_TextSymbolEditorWatcherSetupUtil)
> >> >
> >> > > Error: Type was not found or was not a compile-time constant:
> >> > > [mx.binding]::IWatcherSetupUtil2.
> >> >
> >> > > <source path removed>\target
> >> > > \redlining.swc(_xxx_xxxx_xxxxxxxx_URLInputPanelWatcherSetupUtil)
> >> >
> >> > > Error: Type was not found or was not a compile-time constant:
> >> > > [mx.binding]::IWatcherSetupUtil2.
> >> >
> >> > > --
> >> > > 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/
> >>
> >
> > --
> > 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/
>

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