I'm working in a Maven Java environment, moving a client project from
Flash (with checked in *.swf) to a Flex project that will be built
from source through Flexmojos (which by the way is an awesome
project).

I'm wondering how to resolve developers who are using Flexbuilder
whose build produces SWF's that look like the following.

For example we have 2 MXML's a main.mxml and a battle.mxml, in
Flexbuilder it's configured to output to bin-debug (we could configure
that to maven default /target but that's not the issue). The output
looks like the following:
bin-debug/main.swf
bin-debug/main.html
bin-debug/battle.swf

When I build with maven I get the following:
target/project-name-1.0-SNAPSHOT-main.swf

What's the best practice in flexmojos and Maven to get those 2 to
match, because I'd like it so that we could run a JETTY web server
project in the Eclipse workspace that during development could just
map the directory to /target/ so that we could have HTML or JSP's that
include the battle.swf and/or main.swf without having to build an
entire WAR (see 
http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory).

Even if we were to build a WAR which we will do for production I don't
want to force FlexBuilder developers to run a mvn install to ensure
that their SWFs are updated so they can run the web server.

Should I modify the maven pom.xml to map the artifiact names to simple
names like main.swf and battle.swf (also how do I go about doing that
for a project that has multiple artifact outputs). Is there also a way
with flexmojos to generate the HTML like Flexbuilder does during build?
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to