Ow, I did missed that, I was operating on the assumption a "regular" flex SDK was being used.
Well, that just reinforces what I always said... when you start installing your own flex SDKs things go south really quick. I have 4 suggestions here: debug, debug, debug and debug. I always had to when there is a new flex SDK out. =/ Probably if you just said hey, "I tried to install my own flex SDK and got into problems" I could had give you this answer sooner, not that it helps at any level..... On Aug 10, 12:51 pm, Christofer Dutz <[email protected]> wrote: > @Michael: You are using an unsupported distribution of the flex sdk. > Problems like these were the reason (as far as I understood) that velo > didn't want to give out his scripts for preparing and deploying flex > sdks. As far as I understood it, it's a pretty tricky task and > includes a lot of tweaking and testing. > > If I keept telling the people not to play with the fire and they keept > comming for help, because they burnt themselves, I would propably stop > helping too. > > I would suggest you try building with one of the supported flexmojos > sdks provided by velo (the version you are using is available there). > If the problem still occurs, I bet someone will start helping you, > because then the problem is propably really related to FM and not to a > quirky self-distribution you are using. > > Chris > > 2011/8/10 Marvin Froeder <[email protected]>: > > > > > > > > > Seriously, now I own people answers?! then people wonder why I got > > frustrated with flexmojos community =/ > > > I don't see anything obviously problematic and since I don't have time to > > investigate there isn't much to comment, is it? > > > VELO > > > On Wed, Aug 10, 2011 at 12:19 PM, Michael Bushe <[email protected]> > > wrote: > > >> VELO, I noticed I didn't even get the courtesy of a snarky reply like > >> you gave to some of the other posts yesterday. Can you at least tell > >> me how I can improve my question for you? > > >> Perhaps you ignored it because I used my own local repo, though I > >> noticed in this group that you pointed folks to the same script that I > >> ran to create it. I tried the official repo, but I had another issue > >> with that which I can create another post for if that helps. > > >> If I'm doing something dumb, a hint or dope slap would be helpful. > > >> Thanks, > > >> Michael Bushe > > >> On Aug 9, 3:55 pm, Michael Bushe <[email protected]> wrote: > >> > I've been using FM 3.8 for over a year and am trying to upgrade to 4.0- > >> > RC1. I'm unable to get HelloWorld.mxml to compile due to a > >> > NullPointerException in > >> > DefaultFlashPlayerTruster.updateSecuritySandbox . I reproduced this > >> > on Linux, Windows 7 and Windows XP. > > >> > I'm running this (settings.xml and pom.xml below): > >> > mvn -s ..\settings.xml -X clean install > > >> > [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- > >> > plugin:4.0-RC1:compile-swf (default-compile-swf) o > >> > n project flexfour: null: MojoExecutionException: NullPointerException > >> > -> [Help 1] > >> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > >> > execute goal org.sonatype.flexmojos:flexmojos-maven-pl > >> > ugin:4.0-RC1:compile-swf (default-compile-swf) on project flexfour: > >> > null > >> > at > > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > >> > 203) > >> > at > > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > >> > 148) > >> > at > > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > >> > 140) > >> > at > > >> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java: > >> > 84) > >> > at > > >> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java: > >> > 59) > >> > at > > >> > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java: > >> > 183) > >> > at > > >> > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java: > >> > 161) > >> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: > >> > 314) > >> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: > >> > 151) > >> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445) > >> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168) > >> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132) > >> > 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 > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java > >> > :1644) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody0(MxmlcMojo.java: > >> > 152) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody1$advice(MxmlcMojo.java: > >> > 36) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody2(MxmlcMojo.java: > >> > 146) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody3$advice(MxmlcMojo.java: > >> > 14) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody4(MxmlcMojo.java: > >> > 1) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody5$advice(MxmlcMojo.java: > >> > 17) > >> > at > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute(MxmlcMojo.java: > >> > 1) > >> > at > > >> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java: > >> > 107) > >> > at > > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > >> > 195) > >> > ... 19 more > >> > Caused by: java.lang.NullPointerException > >> > at > > >> > org.sonatype.flexmojos.truster.DefaultFlashPlayerTruster.updateSecuritySandbox(DefaultFlashPlayerTruster.java > >> > :42) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.doCompile(MxmlcMojo.java: > >> > 138) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.doCompile(MxmlcMojo.java: > >> > 1) > >> > at > > >> > org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java > >> > :1640) > >> > ... 28 more > >> > [ERROR] > >> > [ERROR] > >> > [ERROR] For more information about the errors and possible solutions, > >> > please read the following articles: > >> > [ERROR] [Help > >> > 1]http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > >> > My settings.xml is simple, it just points to a local repo: > >> > <settings> > >> > <localRepository>c:/maven/repos/flexmojos4-sdkviascript</ > >> > localRepository> > >> > </settings> > > >> > My pom.xml is pretty straightforward. I set the repos in the > >> > pom.xml. I'm using my own repo with 4.1 deployed according to the > >> > scripts provided by Drago Dascalita's blog post. I tried using the > >> > sonatype repo and came across different issues, which I can make > >> > another post on: > >> > <?xml version="1.0" encoding="UTF-8"?> > >> > <project xmlns="http://maven.apache.org/POM/4.0.0" > >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > >> > xsi:schemaLocation="http:// > >> > maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd"> > >> > <modelVersion>4.0.0</modelVersion> > > >> > <groupId>com.foo.em.flexfour</groupId> > >> > <artifactId>flexfour</artifactId> > >> > <version>1.0-SNAPSHOT</version> > >> > <packaging>swf</packaging> > > >> > <name>flexfour test</name> > > >> > <properties> > >> > <flex.version>4.1.0.16248</flex.version> > >> > <flexmojos.version>4.0-RC1</flexmojos.version> > >> > </properties> > > >> > <build> > >> > <sourceDirectory>src/main/flex</sourceDirectory> > >> > <testSourceDirectory>src/test/flex</testSourceDirectory> > >> > <plugins> > >> > <plugin> > >> > <groupId>org.sonatype.flexmojos</groupId> > >> > <artifactId>flexmojos-maven-plugin</artifactId> > >> > <version>${flexmojos.version}</version> > >> > <extensions>true</extensions> > >> > <configuration> > >> > <sourceFile>Main.mxml</sourceFile> > >> > </configuration> > >> > <dependencies> > >> > <dependency> > >> > <groupId>com.adobe.flex</groupId> > >> > <artifactId>compiler</artifactId> > >> > <version>${flex.version}</version> > >> > <type>pom</type> > >> > </dependency> > >> > </dependencies> > >> > </plugin> > >> > </plugins> > >> > </build> > > >> > <dependencies> > >> > <dependency> > >> > <groupId>com.adobe.flex.framework</groupId> > >> > <artifactId>spark</artifactId> > >> > <type>swc</type> > >> > <scope>theme</scope> > >> > <version>${flex.version}</version> > >> > </dependency> > >> > <dependency> > >> > <groupId>com.adobe.flex.framework</groupId> > >> > <artifactId>flex-framework</artifactId> > >> > <version>${flex.version}</version> > >> > <type>pom</type> > >> > </dependency> > >> > </dependencies> > > >> > <repositories> > >> > <repository> > >> > <id>symmsm</id> > >> > <url>http://<mylocalreposerver>:8181/nexus/content/groups/ > >> > symmsm</url> > >> > <releases> > >> > > > ... > > read more » -- 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/
