Closed GoogleCodeExporter closed 9 years ago
This shoud be an Enhancement, but the Issue creation form doesn't allow
changing the issue type.
Original comment by marcello.teodori
on 28 Aug 2008 at 11:22
http://docs.flex-mojos.info/flex-compiler-mojo/compile-swf-mojo.html#sourcePaths
Original comment by velo...@gmail.com
on 28 Aug 2008 at 11:29
I've tried that, but the project has war and not swf packaging, because it
borrows from the appfuse-basic-
spring archetype, which creates a spring-jpa web application skeleton, and it
seems that adding the flex-
compiler-mojo to the build like this does not trigger the mxml compilation:
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<version>2.0-alpha4</version>
<extensions>true</extensions>
<configuration>
<locales>
<locale>en_US</locale>
</locales>
<sourcePaths>
<path>${basedir}/src/main/flex</path>
</sourcePaths>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>compile-swf</goal>
</goals>
</execution>
</executions>
</plugin>
The Main.mxml does get found only when I set:
<sourceDirectory>src/main/flex</sourceDirectory>
in the build section.
Original comment by marcello.teodori
on 28 Aug 2008 at 2:59
Original issue reported on code.google.com by
marcello.teodori
on 28 Aug 2008 at 11:21