What steps will reproduce the problem?
1. Create a project that includes a Flex Module
2. Try to use flex-mojos to compile that module with a loadExternsOnModules
value of false. You do this by adding
<loadExternsOnModules>false</loadExternsOnModules> as a child of
<configuration/>
What is the expected output?
A module that contains all of the classes of the project, so it can be
loaded by other applications. This is achieved in Flex Builder by selecting
:"Do not optimize
(module can be loaded by multiple applications)"
What do you see instead?
A compiler failure when building the app.
Exception in thread "main" java.lang.NullPointerException
What version of the product are you using?
2.0M10
On what operating system?
Occurred on Windows XP and Mac OS X 10.5.4
Please provide any additional information below.
Here is the flex-mojos plugin configuration node:
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<configuration>
<sourceFile>Loader.mxml</sourceFile>
<sourcePaths>
<path>${project.build.sourceDirectory}</path>
<path>${basedir}/target/generated-as</path>
</sourcePaths>
<moduleFiles>
<module>/module/LoaderModule.mxml</module>
</moduleFiles>
<includeSources>
<param>${project.build.sourceDirectory}</param>
<param>${basedir}/target/generated-as</param>
</includeSources>
<loadExternsOnModules>false</loadExternsOnModules>
</configuration>
</plugin>
Original issue reported on code.google.com by gian...@gmail.com on 18 Dec 2008 at 7:50
Original issue reported on code.google.com by
gian...@gmail.com
on 18 Dec 2008 at 7:50