For you error, makes no sense, flexmojos wouldn't build w/o that class, but
I have no clue how you did to get this error.  My best guess is you made a
partial build, excluded some dependency or even is mixing FM versions.
Anyway, nothing to do with apparat, but you can rollback the version if you
thing it is related.

Coverage thing seems to be related to it inability to deal with swf v11 (12,
33 or whatever the new version is)
http://twitter.com/#!/joa/status/77758077419520000
As I said many times here, if you need coverage grab apparat sources and get
it working with the new SWF version...  My flex 3 projects are happy the way
things are right now, so I won't take any action.


VELO

On Thu, Jun 16, 2011 at 11:01 AM, justinjmoses <[email protected]>wrote:

> Velo,
>
>   I noticed you bumped apparat to the latest version. I've been trying to
> use it to see if it fixes the hanging issue for code coverage however I'm
> getting some strange output on compilation. I've summarised the main bits
> below: (i've checked and my local repo does indeed have both the apparat RC9
> core and plugin). IApplicationDomain? am I missing something to do with the
> Flex compiler?
>
>
> [INFO] --- flexmojos-maven-plugin:4.0-SNAPSHOT:compile-swc
> (default-compile-swc) @ …
>
>
>
> Jun 16, 2011 9:50:08 AM org.sonatype.guice.bean.reflect.LoadedClass
>
> WARNING: Error injecting: org.sonatype.flexmojos.plugin.compiler.CompcMojo
>
> java.lang.NoClassDefFoundError:
> org/sonatype/flexmojos/compiler/IApplicationDomain
>
>
>
>
>
> ......
>
>
>
>
>
> ------------------------------------------------------------
>
> [Error] Failed to Execute goal
> org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-SNAPSHOT:compile-swc
> (default-compile-swc) on project xxxx: Execution default-compile-swc of goal
> org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-SNAPSHOT:compile-swc
> failed: Unable to load the mojo 'compile-swc' in the plugin
> 'org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-SNAPSHOT'. A required
> class is missing: org/sonatype/flexmojos/compiler/IApplicationDomain
>
>
>
> .... (it lists all 142 previous URL entries)
>
>
> [ERROR] urls[142] =
> file:/C:/Documents%20and%20Settings/XXXXXX/.m2/repository/org/scala-lang/scala-library/2.8.1/scala-library-2.8.1.jar
>
> [ERROR] urls[143] =
> file:/C:/Documents%20and%20Settings/XXXXXX/.m2/repository/com/googlecode/apparat/apparat-maven-plugin/1.0-RC9/apparat-maven-plugin-1.0-RC9.jar
>
>
>
> [ERROR] Number of foreign imports: 1
>
> [ERROR] import: Entry[import  from realm
> ClassRealm[project>xxxx:0.1.3-SNAPSHOT, parent: ClassRealm[maven.api,
> parent: null]]]
>
> [ERROR]
>
> [ERROR] -----------------------------------------------------:
> org.sonatype.flexmojos.compiler.IApplicationDomain
>
> --
> 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