Hi Gianni, And what did you put at your pom to achieve that? I see the error, know what you wanna, but I dunno what you already tried. Can you post it?
VELO On Thu, Dec 18, 2008 at 3:53 PM, gianni <[email protected]> wrote: > > Just to be sure this is necessary, what I'm trying to do is compile a > Flex Module with out excluding the classes from the root application. > > In Flex Builder, there is an option for modules: "Do not optimize > (module can be loaded by multiple applications)". That is what I want > to achieve... > > Thanks. > > On Dec 18, 12:48 pm, gianni <[email protected]> wrote: > > Setting this to false causes my build to fail. It works when it's > > true, or omitted. > > > > Is this a know bug? Has anyone used this before? Any help would be > > appreciated. > > > > Here is the error: > > > > Exception in thread "main" java.lang.NullPointerException > > at > flex2.tools.oem.internal.OEMConfiguration.toCommaSeparatedString > > (OEMConfiguration.java:2108) > > at flex2.tools.oem.internal.OEMConfiguration.getOptions > > (OEMConfiguration.java:412) > > at flex2.tools.oem.internal.OEMConfiguration.getCompilerOptions > > (OEMConfiguration.java:114) > > at flex2.tools.oem.internal.OEMConfiguration.toString > > (OEMConfiguration.java:1953) > > at > info.rvin.mojo.flexmojo.compiler.AbstractFlexCompilerMojo.build > > (AbstractFlexCompilerMojo.java:2054) > > at info.rvin.mojo.flexmojo.compiler.ApplicationMojo.tearDown > > (ApplicationMojo.java:235) > > at info.rvin.mojo.flexmojo.AbstractIrvinMojo.execute > > (AbstractIrvinMojo.java:180) > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > > (DefaultPluginManager.java:579) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai > lures > > (DefaultLifecycleExecutor.java:498) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForPr > oject > > (DefaultLifecycleExecutor.java:265) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > > (DefaultLifecycleExecutor.java:191) > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > > (DefaultLifecycleExecutor.java:149) > > at org.apache.maven.DefaultMaven.execute_aroundBody0 > > (DefaultMaven.java:223) > > at org.apache.maven.DefaultMaven.execute_aroundBody1$advice > > (DefaultMaven.java:304) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1) > > at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2 > > (MavenEmbedder.java:904) > > at > org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice > > (MavenEmbedder.java:304) > > at > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java: > > 1) > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:63) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:52) > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
