Hi,
Always nice when you finds exactly what ya needed!  Did the following
and it worked [some doc below for others] but...

It isn't placed within the repository (I still get the 'original'
modules' name there?! -- see below)
Consequently, my copy-out (for which I'm using "copy-dependencies"
from maven-dependency-plugin) can't place them in my target for AIR to
include.

In case others find this thread, this is in the source but not the
docs yet.  Following it seems to work :-)

    /**
     * The list of modules to be compiled.
     *
     * <pre>
     * <modules>
     *   <module>Module1.mxml</module>
     *   <module>Module2.mxml</module>
     *   <module>
     *     <sourceFile>Module3.mxml</sourceFile>
     *     <optimize>false</optimize>
     *     <finalName>MyModule</finalName>
     *     <destinationPath>dir1/dir2</destinationPath>
     *   </module>
     * </modules>
     * </pre>
     *
     * @parameter
     */
    private Module[] modules;

So I have success with...
        <modules>
                <module>
                        <sourceFile>com/something/main.mxml</sourceFile>
                        <optimize>false</optimize>
                        <finalName>MyModule1</finalName>
                        <destinationPath>com/something</destinationPath>
                </module>
        </modules>

...which creates: target/com/something/MyModule1.swf

However, in .m2/repo... I still get:

info/rvin/itest/modular/module/1.0-SNAPSHOT/module-1.0-SNAPSHOT-
main.swf

(and no "com/something" in .m2/repo in case you're wondering)

Cheers,
Rupert.

On Jul 15, 10:48 pm, Marvin Froeder <[email protected]> wrote:
> http://repository.sonatype.org/content/sites/flexmojos-site/4.0-alpha......
>
> hrmm.... I think I need to extend the doc for that...
>
> On Thu, Jul 15, 2010 at 5:30 PM, thouse <[email protected]> wrote:
> > Hi Velo - I read in this post from April (http://www.mail-archive.com/
> > [email protected]/msg05331.html<http://www.mail-archive.com/%[email protected]/msg05331.html>)
> >  that Flexmojos 4 would
> > allow you to configure the output folders and names of your modules -
> > is this documented somewhere?  How do I configure this?
>
> > Thanks.
>
> > --
> > 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]<flex-mojos%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos
>
> >http://flexmojos.sonatype.org/

-- 
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

http://flexmojos.sonatype.org/

Reply via email to