Hi to all,

I update all my pom.xml to 3.6 snapshot and move my test project to
flex4 and air 2.0. All works fine. Thanks Velo for your hard work!

After that I try to upgrade a quite simple project from flex 3 to flex
4 sdk.
Here I found a different flexmojos behaviour respect flash 4 builder.

I have a custom component based on TabNavigator:

<!-- works with flexmojos but not with flash builder 4 -->
<mx:TabNavigator xmlns:mx="http://www.adobe.com/2006/mxml";
                              width="100%" height="100%">
                <!-- my code here -->
</mx:TabNavigator />

<!-- works with flash builder 4 but not with  flexmojos -->
<mx:TabNavigator xmlns:fx="http://ns.adobe.com/mxml/2009";
                                 xmlns:mx="library://ns.adobe.com/flex/mx"
                                 width="100%" height="100%">
                <!-- my code here -->
</mx:TabNavigator />

My build on flexmojos return this error:
....
ERROR] /open/workspace_3.4.2/itw/modules/admin-core/src/main/flex/it/
kemen/vela/interwatch/views/OrderDetail.mxml:[18,-1] Could not resolve
<mx:TabNavigator> to a component implementation.
[ERROR] /open/workspace_3.4.2/itw/modules/admin-core/src/main/flex/it/
kemen/vela/interwatch/components/OrderDetail.mxml:[21,-1] Could not
resolve <mx:TabNavigator> to a component implementation.
....

It seams that TabNavigator container is not loaded on the classpath.
Then I check the dependecy tree.

[INFO] [dependency:tree {execution: default-cli}]
[INFO] it.kemen.vela:admin-core:swc:1.0.1-SNAPSHOT
[INFO] +- com.adobe.flex.framework:flex-framework:pom:
4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:flex:swc:4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:framework:swc:
4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:framework:zip:configs:
4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:rpc:swc:4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:spark:swc:4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:sparkskins:swc:
4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:textLayout:swc:
4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:utilities:swc:
4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:framework:rb.swc:
4.0.0.10485:compile
[INFO] |  +- com.adobe.flex.framework:rpc:rb.swc:4.0.0.10485:compile
[INFO] |  \- com.adobe.flex.framework:spark:rb.swc:4.0.0.10485:compile
[INFO] +- com.adobe.flex.framework:playerglobal:swc:
10:3.5.0.12683:compile
[INFO] \- it.kemen.kaf:swiz:swc:flex3:0.6.4:compile

It seams all dependencies are right may be the namespace
(  xmlns:mx="library://ns.adobe.com/flex/mx") declaration is not
recognized by  flexmojos?

thanks in advance
regards Lorenzo

-- 
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?hl=en?hl=en

http://flexmojos.sonatype.org/

Reply via email to