New issue 40 by rrsav...@hotmail.com: Feature request: support compiling
multiple SWF modules for a Flex project.
http://code.google.com/p/israfil-mojo/issues/detail?id=40
Another Flex maven plug-in (info.flex-mojos:flex-compiler-mojo) supports
compiling multiple SWF modules that may exist in a single Flex project.
I prefer using this Maven2 plugin for Flex maven integration and it would
be nice if it supported compiling multiple SWF modules in the Flex
project. I have to achieve this today using ANT scripts.
I understand that the Maven artifact created should be a single SWF file
that is the main application SWF, I am not suggesting that that behavior
should change. I am using the "maven-assembly-plugin" to package up all
my Flex artifacts (fonts/images/etc) into a ZIP file for deployment. I
wish to include these compiled SWF modules in this artifacts ZIP file.
The module definition for each defined SWF module to compile should
include a source path/file and a destination path/file as well as if it
should be compiled with optimization againsts the main application SWF.
The "flex-compiler-mojo" implementation does not provide a means to
specify the destination path/filename and it automatically renames the
output filename which I dislike.
API reference:
http://docs.flex-mojos.info/flex-compiler-mojo/compile-swf-
mojo.html#moduleFiles
Thank You,
Robert
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
I'm also having the same kind of problem.
I have to create a 20x swf files , each holding a font + a css file.
currently i have converted a ant script which basicly has 20 lines of
<mxmlc file="${basedir}/fonts/CarpenterICG.css"
output="${BIN_DIR}/CarpenterICG.swf" />
currently this is replaced with 20 maven project , 20 pom.xml in a multi
project
build. this all is a bit overkilled and hard to maintain, let alone explain
to my
fellow workers .
I tried using modules but a can't get it working.
What i would like to see is something like
<sourceFiles>font/*.css</sourceFiles>
<excludes>
<some file you want to exclude for some reason >
</excludes>
Ooeps, wrong mailing group. i was using flex-mojo. didn't realise that this
was a
other flex module :-(
I made my own custom version of the Israfil Mojo to handle multiple
modules, but due
to the lack of activity with this project, I abandoned it and migrated to
http://flex-mojos.info/
Sorry rrsav. I've not been using flex projects myself for quite some time,
and it's been very hard to make it a
piriority.
No problem, I fully understand.