Ow, you wanna configurations per modules?!

You need to split your code into multiple maven modules then.

VELO

On Wed, May 26, 2010 at 11:13 AM, Matt C <[email protected]> wrote:

> This is where I get out of my depth...
>
> To recap, here's what I want to do:
>
> I want to put compiler options in some kind of configuration file, on
> a per-application (and per-module) basis.
>
> The current Main-config.xml file I have looks like this:
>
> <?xml version="1.0"?>
> <flex-config>
>   <compiler>
>      <locale>
>         <locale-element>en_US</locale-element>
>      </locale>
>      <source-path>
>         <path-element>../locales/{locale}</path-element>
>      </source-path>
>      <allow-source-path-overlap>true</allow-source-path-overlap>
>   </compiler>
> </flex-config>
>
> I'd also like to add this in as well - but just for the modules:
>
>      <definesDeclaration>
>         <property>
>            <name>CONFIG::development</name>
>            <value>false</value>
>         </property>
>      </definesDeclaration>
>
> Can you point me in the right direction to achieve that?
>
> Thanks for your quick replies, Marvin.
>
> Matt
>
>
> On May 26, 3:09 pm, Marvin Froeder <[email protected]> wrote:
> > pom configurations?!
> >
> >
> >
> > On Wed, May 26, 2010 at 11:07 AM, Matt C <[email protected]> wrote:
> > > Oh. That's a pain.
> >
> > > What alternative would you suggest then?
> >
> > > Matt
> >
> > > On May 26, 2:14 pm, Marvin Froeder <[email protected]> wrote:
> > > > Don't use flex-config.xml with flexmojos.  There is no guarantee your
> > > > configuration won't be ignored or overwrote by flexmojos.
> >
> > > > VELO
>
> --
> 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