Your fix did the trick, new error now.
Error: Interface IStyleModule was not found. [Generated code (use -
keep to save): Path: /Source/depot/Service/ui/java/projects/Tsunami/
short/flex/components-styles/src/main/flex/generated/componentStyles-
generated.as, Line: 16, Column: 67]
Here is the stacktrace for the missing languageRange:
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:4.0-SNAPSHOT:compile-swf (default-compile-swf) on project pl-
console-flex-components-styles:
java.lang.reflect.InvocationTargetException: NullPointerException ->
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-
SNAPSHOT:compile-swf (default-compile-swf) on project pl-console-flex-
components-styles: java.lang.reflect.InvocationTargetException
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
584)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
323)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.MojoExecutionException:
java.lang.reflect.InvocationTargetException
at
org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.executeCompiler(AbstractMavenFlexCompilerConfiguration.java:
1444)
at
org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute(MxmlcMojo.java:
142)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
105)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
576)
... 14 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.getArgumentsList(FlexCompilerArgumentParser.java:
41)
at
org.sonatype.flexmojos.compiler.DefaultFlexCompiler.compileSwf(DefaultFlexCompiler.java:
47)
at
org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.doCompile(MxmlcMojo.java:
121)
at
org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.doCompile(MxmlcMojo.java:
1)
at
org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.executeCompiler(AbstractMavenFlexCompilerConfiguration.java:
1440)
... 17 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
74)
at
org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
85)
at
org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
85)
at
org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
85)
at
org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.getArgumentsList(FlexCompilerArgumentParser.java:
37)
... 21 more
Caused by: java.lang.NullPointerException
at
org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.getLanguageRange_aroundBody122(AbstractMavenFlexCompilerConfiguration.java:
2066)
at
org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.getLanguageRange_aroundBody123$advice(AbstractMavenFlexCompilerConfiguration.java:
40)
at
org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.getLanguageRange(AbstractMavenFlexCompilerConfiguration.java:
1)
... 30 more
On Mar 28, 4:40 pm, Marvin Froeder <[email protected]> wrote:
> On Sun, Mar 28, 2010 at 8:07 PM, alpduhuez <[email protected]> wrote:
> > Okay, good news that change got the style swf build farther, but is a
> > couple more issues.
>
> > 1. There needs to be a languageRange configuration option else it
> > blows up w/ a null pointer. I have an empty option for now (e.g.
> > <languageRange/>)
>
> Could you give me the stack trace? Run mvn -e
>
> > 2. I seem to get a bad parameter exception to the mxmlc compiler:
>
> > [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> > plugin:4.0-SNAPSHOT:compile-swf (default-compile-swf) on project pl-
> > console-flex-components-styles: Got 1 errors building project, check
> > logs -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-
> > SNAPSHOT:compile-swf (default-compile-swf) on project pl-console-flex-
> > components-styles: Got 1 errors building project, check logs
>
> > There error is: command line: Error: unknown configuration variable
> > 'tools-locale'.
>
> I put a fix for that just a few minutes after I put 3.5 fix in place, could
> you try mvn -U?
>
> VELO
>
>
>
> > There is a '-tools-locale=en_US' option being included in the compiler
> > out. Seems like a left over from 4.0.
>
> > Thanks for the quick responses.
> > -al
>
> > On Mar 28, 10:51 am, Marvin Froeder <[email protected]> wrote:
> > > No problem, flexmojos 4 will be flex 3 compatible.
>
> > > Sent from DROID
>
> > > Em 28/03/2010 14:47, "alpduhuez" <[email protected]>escreveu:
>
> > > Awesome, thank you very much. I will try it later today.
>
> > > Yea, we are stuck on flex 3 for a bit till we update our custom
> > > controls to the style/control changes in flex 4.
>
> > > On Mar 28, 8:05 am, Marvin Froeder <[email protected]> wrote:> Ok, I
> > made a fix for it....
>
> > > > But you have to add the extra dependency manuallyhttps://
>
> > > svn.sonatype.org/flexmojos/branches/flexmojos-4.x/flexmojos-t...
>
> > > > Soon I will release a new alpha....
>
> > > > VELO
>
> > > > On Sun, Mar 28, 2010 at 11:05 AM, Marvin Froeder <[email protected]>
> > > wrote:
> > > > > Ok, FWIW, it is a ...
> > > > > On Sun, Mar 28, 2010 at 4:01 AM, alpduhuez <[email protected]>
> > wrote:
>
> > > > >> When building a s...
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl
> > > eExecutor.java:> >> 584)
> > > > >> at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl
> > > eExecutor.java:
>
> > > > >> 323)
> > > > >> at
>
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)> >>
> > ...
>
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> > > l.java:
>
> > > > >> 25)
> > > > >> at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >> at
>
> > > > >> org.c...
>
> > org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfigurati
> > > on.checkResult(AbstractMavenFlexCompilerConfiguration.java:> >> 1394)
> > > > >> at
>
> > org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfigurati
> > > on.executeCompiler(AbstractMavenFlexCompilerConfiguration.java:
>
> > > > >> 1447)
> > > > >> at
>
> > > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute(MxmlcMojo.ja...
>
> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildP
> > > luginManager.java:> >> 105)
> > > > >> at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl
> > > eExecutor.java:
>
> > > > >> 576)
> > > > >> ... 14 more
> > > > >> Caused by: java.lang.Exception: java.lang.NoClassDefFoundErro...
>
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFi
> > > rstStrategy.java:
>
> > > > >> 50)
> > > > >> at
>
> > > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm...>
> > >> > > > > > > [email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > <flex-mojos%2bunsubscr...@googlegrou ps.com>> >> <
> > flex-mojos%[email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > <flex-mojos%252bunsubscr...@googl egroups.com>
>
> > > > >> > > > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > <flex-mojos%252bunsubscr...@googl egroups.com>> >> <
> > flex-mojos%[email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > <flex-mojos%25252bunsubscr...@g ooglegroups.com>
>
> > > > >> > > > > > > For more options, visit this group at
> > > > >> > > > > > >http://groups.google.com/gr...
> > > > >> > > > > [email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > <flex-mojos%2bunsubscr...@googlegrou ps.com>
>
> > > > >> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > <flex-mojos%252bunsubscr...@googl egroups.com>
>
> > > > >>...
> > > > ...
>
> > > > read more »
>
> > > --
>
> > > You received this message because you are subscribed to the Google
> > > Groups "Flex Mojos" group.
> > > To pos...
>
> > --
> > 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
>
> >http://flexmojos.sonatype.org/
>
> > To unsubscribe from this group, send email to flex-mojos+
> > unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> > ME" as the subject.
--
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/
To unsubscribe from this group, send email to
flex-mojos+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.