Did someone file a ticket for that on jira? VELO
On Wed, Jul 22, 2009 at 4:38 PM, Kris Hofmans <[email protected]>wrote: > > Hello, > > I just want to confirm that I also ran into this issue > > If I run a mvn compile I get: > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 19 seconds > [INFO] Finished at: Wed Jul 22 21:35:10 CEST 2009 > [INFO] Final Memory: 22M/151M > [INFO] > ------------------------------------------------------------------------ > > If I try a mvn install it craps out with: > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] flex2/tools/API > flex2.tools.API > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NoClassDefFoundError: flex2/tools/API > at org.sonatype.flexmojos.optimizer.OptimizerMojo.optimize > (OptimizerMojo.java:169) > at org.sonatype.flexmojos.optimizer.OptimizerMojo.execute > (OptimizerMojo.java:127) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > (DefaultPluginManager.java:451) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (DefaultLifecycleExecutor.java:558) > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > (DefaultLifecycleExecutor.java:499) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > (DefaultLifecycleExecutor.java:478) > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > (DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > (DefaultLifecycleExecutor.java:291) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > (DefaultLifecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > 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: java.lang.ClassNotFoundException: flex2.tools.API > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:319) > at org.codehaus.classworlds.RealmClassLoader.loadClassDirect > (RealmClassLoader.java:195) > at org.codehaus.classworlds.DefaultClassRealm.loadClass > (DefaultClassRealm.java:255) > at org.codehaus.classworlds.DefaultClassRealm.loadClass > (DefaultClassRealm.java:274) > at org.codehaus.classworlds.RealmClassLoader.loadClass > (RealmClassLoader.java:214) > at java.lang.ClassLoader.loadClass(ClassLoader.java:254) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402) > ... 20 more > > Hope it gets fixed soon :) > > Kind regards, > Kris > > On Jul 21, 9:32 am, flex-guse <[email protected]> wrote: > > Hi VELO, > > > > ticked is filed. > > > > Christoph > > > > On 20 Jul., 17:23, Marvin Froeder <[email protected]> wrote: > > > > > > > > > I tested it locally.... > > > The API changed from 3.x to 4.x.... file a ticket for that, I will try > to > > > fix it for flexmojos 3.3 release. > > > > > VELO > > > > > On Mon, Jul 20, 2009 at 12:01 PM, flex-guse <[email protected]> wrote: > > > > > > Hi List, > > > > > > I'm not able to use the optimizer flexmojos goal to produce size > > > > reduced components. > > > > > > My pom: > > > > > > <?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.0 > > > >http://maven.apache.org/maven-v4_0_0.xsd"> > > > > <modelVersion>4.0.0</modelVersion> > > > > > > <groupId>de.exaconsult.eanalytics.flex.fileupload</groupId> > > > > <artifactId>multifileupload</artifactId> > > > > <version>1.0</version> > > > > <packaging>swc</packaging> > > > > > > <name>multifileupload Flex</name> > > > > > > <build> > > > > <sourceDirectory>src/main/flex</sourceDirectory> > > > > > <testSourceDirectory>src/test/flex</testSourceDirectory> > > > > <plugins> > > > > <plugin> > > > > > <groupId>org.sonatype.flexmojos</groupId> > > > > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > > <version>3.3-SNAPSHOT</version> > > > > <configuration> > > > > <enableM2e>true</enableM2e> > > > > > <targetPlayer>10.0.22</targetPlayer> > > > > > > <resourceBundlePath>${basedir}/src/main/resources/locale/{locale} > > > > </resourceBundlePath> > > > > <runtimeLocales> > > > > <locale>en_US</locale> > > > > <locale>de_DE</locale> > > > > </runtimeLocales> > > > > <includeClasses> > > > > ... my classes ... > > > > </includeClasses> > > > > <rslUrls> > > > > > > <rsl>{artifactId}-{version}.{extension}</rsl> > > > > </rslUrls> > > > > </configuration> > > > > <executions> > > > > <execution> > > > > <goals> > > > > > > <goal>optimize</goal> > > > > </goals> > > > > </execution> > > > > </executions> > > > > <dependencies> > > > > <dependency> > > > > > > <groupId>com.adobe.flex</groupId> > > > > > > <artifactId>compiler</artifactId> > > > > > > <version>4.0.0.7219</version> > > > > <type>pom</type> > > > > </dependency> > > > > </dependencies> > > > > <extensions>true</extensions> > > > > </plugin> > > > > </plugins> > > > > </build> > > > > > > <dependencies> > > > > <dependency> > > > > <groupId>com.adobe.flex.framework</groupId> > > > > <artifactId>flex-framework</artifactId> > > > > <version>4.0.0.7219</version> > > > > <type>pom</type> > > > > <scope>compile</scope> > > > > </dependency> > > > > > > <!-- flexmojos Unit testing support --> > > > > <dependency> > > > > <groupId>org.sonatype.flexmojos</groupId> > > > > > <artifactId>flexmojos-unittest-support</artifactId> > > > > <version>3.3-SNAPSHOT</version> > > > > <type>swc</type> > > > > <scope>test</scope> > > > > </dependency> > > > > </dependencies> > > > > > > </project> > > > > > > When I run "mvn clean package" I get the following exception: > > > > > > [INFO] > > > > > ------------------------------------------------------------------------ > > > > [ERROR] FATAL ERROR > > > > [INFO] > > > > > ------------------------------------------------------------------------ > > > > [INFO] flex2/tools/API > > > > flex2.tools.API > > > > [INFO] > > > > > ------------------------------------------------------------------------ > > > > [INFO] Trace > > > > java.lang.NoClassDefFoundError: flex2/tools/API > > > > at org.sonatype.flexmojos.optimizer.OptimizerMojo.optimize > > > > (OptimizerMojo.java:167) > > > > at org.sonatype.flexmojos.optimizer.OptimizerMojo.execute > > > > (OptimizerMojo.java:125) > > > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > > > > (DefaultPluginManager.java:483) > > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > > > > (DefaultLifecycleExecutor.java:678) > > > > at > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycl > e > > > > (DefaultLifecycleExecutor.java:540) > > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > > > > (DefaultLifecycleExecutor.java:519) > > > > at > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai > lures > > > > (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: java.lang.ClassNotFoundException: flex2.tools.API > > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > > > > at org.codehaus.classworlds.RealmClassLoader.loadClassDirect > > > > (RealmClassLoader.java:195) > > > > at org.codehaus.classworlds.DefaultClassRealm.loadClass > > > > (DefaultClassRealm.java:255) > > > > at org.codehaus.classworlds.DefaultClassRealm.loadClass > > > > (DefaultClassRealm.java:274) > > > > at org.codehaus.classworlds.RealmClassLoader.loadClass > > > > (RealmClassLoader.java:214) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > > > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: > > > > 320) > > > > ... 20 more > > > > [INFO] > > > > > ------------------------------------------------------------------------ > > > > > > How can I provide flex2.tools.API? Is there somewhere a jar file > which > > > > I can put into my repository and provide for my application? > > > > > > Thank you in advance, > > > > Christoph > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
