Try maven 2.1 then....
I had this problem (building individual modules works, building whole
project fail), but fixed on 2.1.

VELO

On Tue, Apr 28, 2009 at 4:47 AM, Mario Ernst <[email protected]> wrote:

> Thanks!
> I use sdk version 3.3.0.4852 (as well the 4 jar files).
> What I discovered: Building just the artifact does not make trouble. But
> building the whole project causes an error!?? The stack trace:
> ---
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error compiling!
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error compiling!
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>   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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error compiling!
>   at
> org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.build(AbstractFlexCompilerMojo.java:2255)
>   at
> org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.run(AbstractFlexCompilerMojo.java:1151)
>   at
> org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.java:168)
>   at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>   ... 16 more
> ---
>
> On Mon, Apr 27, 2009 at 5:22 PM, Logan Allred <[email protected]> wrote:
>
>>
>> On Mon, Apr 27, 2009 at 8:56 AM, Mario <[email protected]> wrote:
>> > 2. https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.6 (activating
>> > another font manager) causes trouble:
>> >
>> > [ERROR] .../-flex-client/src/main/flex/assets/styles.css:[2,-1]
>> > exception during transcoding: No FontManager provided. Cannot build
>> > font.
>> > [ERROR] .../flex-client/src/main/flex/assets/styles.css:[2,-1] unable
>> > to build font 'VerdanaEmbedded'
>> ....
>> > Any idea? Thanks in advance!
>>
>> You need to make sure you have the same version of all the correct
>> jars (rideau, etc.) on the classpath. You can check this with the mvn
>> -X parameter.
>>
>> You can see if it works in FlexBuilder (update the flex-config.xml in
>> the FB sdk to use the same font manager).
>>
>> FontManager issues are a pain to debug, we'll need more info if those
>> don't turn up much.
>>
>> Logan
>>
>>
>>
>
>
> --
> Mario Ernst
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to