By running help:effective-pom and dependency:tree, I discovered a minor
dependency problem which did not solve the problem. Still getting the same
results. And still wondering why I'm not getting the same Marvin results.
The pom files seem correct to me and I can't explain the different size swc
generated when compiling from parent or from module.
As for Mac problems actually I have upgraded from 2.2.0 to 2.2.1 just hoping
this would solve my problem :-)
To be sure this is not a local or Mac specific problem I have checked out
the project and installed latest maven version on a windows XP machine that
I had never used for springas development. I did not have any of the
problems Marvin had nor I have the compiler/framework mismatch message: just
the same problem I described in the original message (error message below).
I can add two other things I have noted:
1) asdoc generation through report fails becuase it says it can't find
references to flex framework classes (RemoteObject etc.)
2) asdoc 3.2.0.3958 is downloaded (but also 3.5.0.12683) even though
3.2.0.3958 framework is not mentioned anywhere in pom or dependencies
Martino
P.S.
here below is the error I'm getting, note that the mentioned missing classes
are actually source code files in core module that, just when compiled from
parent pom, do not get included in final core swc (they do if compiled from
module):
[INFO] Compiling test class:
[org.springextensions.actionscript.cairngorm.AbstractResponderTest,
org.springextensions.actionscript.cairngorm.business.AbstractBusinessDelegateTest,
org.springextensions.actionscript.cairngorm.business.AbstractDataTranslatorAwareBusinessDelegateTest,
org.springextensions.actionscript.cairngorm.business.BusinessDelegateFactoryTest,
org.springextensions.actionscript.cairngorm.business.CairngormServiceLocatorTest,
org.springextensions.actionscript.cairngorm.commands.AbstractResponderCommandTest,
org.springextensions.actionscript.cairngorm.commands.CommandFactoryTest,
org.springextensions.actionscript.cairngorm.commands.ResponderCommandFactoryTest,
org.springextensions.actionscript.cairngorm.control.CairngormFrontControllerTest,
org.springextensions.actionscript.cairngorm.EventSequenceTest,
org.springextensions.actionscript.cairngorm.SequenceEventTest, TestRunner]
[ERROR]
/Users/martino/Documents/workspace-idea/springactionscript/spring-actionscript-cairngorm/src/main/actionscript/org/springextensions/actionscript/cairngorm/control/CairngormFrontController.as:[115,105]
Interface IOwnerModuleAware was not found. public class
CairngormFrontController extends FrontController implements
ICommandFactoryRegistryAware, IOwnerModuleAware, IApplicationContextAware {
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error compiling!
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 2 seconds
[INFO] Finished at: Sat Feb 27 03:06:15 CET 2010
[INFO] Final Memory: 68M/312M
[INFO]
------------------------------------------------------------------------
On Fri, Feb 26, 2010 at 11:21 PM, Marcello Teodori <
[email protected]> wrote:
> Hi, maybe the dependency with the custom != from default 3.2 flex
> version is only on the compiler plugin and not on the project? Anyway
> as Marvin says help:effective-pom should show what is happening.
>
> BTW Maven 2.2.1 doesn't work so well on my mac 1.6, it hangs sometimes
> for a minute on "Scanning Projects" at the very start of each build
> before resuming as normal, the default maven 2.2.0 as present on the
> Mac OS install does not show this problem.
> Now I'm trying to use maven 3.0-alpha6, it works with flexmojos
> (without waiting for flexmojos 4.0!) and seems faster
>
> --m
>
> On 26 Feb, 20:53, Marvin Froeder <[email protected]> wrote:
> > [INFO] [flexmojos:compile-swc {execution: default-compile-swc}]
> > [INFO] Flexmojos 3.6-SNAPSHOT
> > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Flex compiler and flex framework versions doesn't match. Compiler:
> > '3.5.0.12683' - Framework: '3.2.0.3958'.
> > You can use 'ignoreVersionIssues' to disable this check. Please refer
> to
> > Flexmojos maven doc.
> > If you prefer fixing it instead of ignoring, take a look at:
> https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 44 seconds
> > [INFO] Finished at: Fri Feb 26 16:49:27 BRT 2010
> > [INFO] Final Memory: 78M/309M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > I just built it from root....
> >
> > Did you tried the help:effective-pom as I suggested?
> >
> >
> >
> > On Fri, Feb 26, 2010 at 4:42 PM, Martino Piccinato <[email protected]>
> wrote:
> > > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> > > Java version: 1.6.0_17
> > > Java home:
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> > > Default locale: en_US, platform encoding: MacRoman
> > > OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"
>
> --
> 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?hl=en?hl=en
>
> 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?hl=en?hl=en
http://flexmojos.sonatype.org/