Hi,
on your current project we are using these kind of preprocessor commands to
build an flex app for multiple platforms. Instead of using definesDeclaration
try defines one:
this is working for flexmojos 4.0-RC2
<defines>
<property>
<name>CONFIG::AIR</name>
<value>true</value>
</property>
<property>
<name>CONFIG::MOBILE</name>
<value>false</value>
</property>
<property>
<name>CONFIG::FLEX</name>
<value>false</value>
</property>
</defines>
Cheers Markus
On Jun 16, 2012, at 1:35 AM, Andres Lozada Mosto wrote:
> Hi all!
>
> I trayied to use the "definesDeclaration" on my proyect but it doesn't works.
>
> The code is this:
> [....]
> <plugin>
> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-maven-plugin</artifactId>
> <version>${flexmojos.version}</version>
> <extensions>true</extensions>
> <configuration>
> [...]
> <definesDeclaration>
> <property>
> <name>CONFIG::localbuild</name>
> <value>true</value>
> </property>
> </definesDeclaration>
> </configuration>
> [....]
>
>
> What is wrong with this code? Any idea about?
>
>
> Regards!!
>
> --
> 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/
--
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/