Does anybody have any experience configuring FlexMojo for Flex 4.5.1
and Flash Player 10.3.

Well so far we have installed the FlexMojo 4 RC 1, yet it seems that
our compilation fails right at the line of flashplayer 10.3-only code:

 _mic = Microphone.getEnhancedMicrophone();.

So far this is the only addition to a Flex 3.5 codebase (hopefully
there will be many more), so what I've been sadly guessing is that
since Flex 4.5.1 only ships with the playerglobal.swc for 10.2, that
perhaps FlexMojo doesn't compile for 10.3 at all? I hope not.

Somewhere in the process we got this amusing error, so perhaps this is
the case?:


Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-compile-swc of goal org.sonatype.flexmojos:flexmojos-maven-
plugin:4.0-RC1:compile-swc failed: Flex compiler and flex framework
versions doesn't match. Compiler: '4.5.1.21328' - Framework:
'10-3.3.0.4852'.
 You can use
'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking'
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
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
110)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
209)
    ... 19 more

One confusing issue for me and the deployment engineer has been that
the adobe docs state that the compiler option
swf-version=12 has to be included in the compilaton, so following the
lexical pattern of the Adobe option: -target-player maps to
<targetPlayer> in the pom.xml I assumed that the Adobe option: -swf-
version maps to <swfVersion>, but I couldn't find exact compiler
option mappings in the FlexMojo docs.


Would it be possible for anybody to send a sample pom.xml for a Flex
4.5.1 compilation with the Flex 3 that compiles for flash player 10.3
and whatever else is needed to include 10.3? Or can I assume for now
it's not possible?


-- 
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