Issue 40 in israfil-mojo: Feature request: support compiling multiple SWF modules for a Flex project.

2 views
Skip to first unread message

codesite...@google.com

unread,
Nov 25, 2008, 1:32:27 PM11/25/08
to israfil-m...@googlegroups.com
Status: New
Owner: ----

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

codesite...@google.com

unread,
Apr 7, 2009, 1:44:20 AM4/7/09
to israfil-m...@googlegroups.com

Comment #1 on issue 40 by luc.will: Feature request: support compiling
multiple SWF modules for a Flex project.
http://code.google.com/p/israfil-mojo/issues/detail?id=40

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>

codesite...@google.com

unread,
Apr 7, 2009, 2:39:33 AM4/7/09
to israfil-m...@googlegroups.com

Comment #4 on issue 40 by luc.will: Feature request: support compiling
multiple SWF modules for a Flex project.
http://code.google.com/p/israfil-mojo/issues/detail?id=40

Ooeps, wrong mailing group. i was using flex-mojo. didn't realise that this
was a
other flex module :-(

codesite...@google.com

unread,
Apr 7, 2009, 2:35:32 AM4/7/09
to israfil-m...@googlegroups.com

Comment #3 on 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

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/

codesite...@google.com

unread,
Apr 7, 2009, 2:31:31 AM4/7/09
to israfil-m...@googlegroups.com

Comment #2 on issue 40 by rob...@shadeblue.com: Feature request: support

codesite...@google.com

unread,
Apr 7, 2009, 8:51:04 AM4/7/09
to israfil-m...@googlegroups.com

Comment #5 on issue 40 by christianedwardgruber: Feature request: support
compiling multiple SWF modules for a Flex project.
http://code.google.com/p/israfil-mojo/issues/detail?id=40

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.

codesite...@google.com

unread,
Apr 7, 2009, 9:44:59 AM4/7/09
to israfil-m...@googlegroups.com

Comment #6 on 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

No problem, I fully understand.

Reply all
Reply to author
Forward
0 new messages