Hi,
glad you got a Little further :-)
Well I usually specify themes using a dependency with scope=theme.
<dependency>
<groupId>com.adobe.flex.framework.themes</groupId>
<artifactId>mobile</artifactId>
<version>4.11.0.20131017</version>
<type>swc</type>
<scope>theme</scope>
</dependency>
And leave away the "themes" section in the plugin configuration.
Chris
________________________________________
Von: whityfenix [[email protected]]
Gesendet: Dienstag, 5. November 2013 15:16
An: [email protected]
Betreff: Re: AW: AW: Using flexmojos maven plugin to build AIR mobile
application
Thank you, Chris,
It seems everything works except one moment.
Can you please tell me one more thing. How do I properly add theme?
Now I have the error:
Error: The style 'showPromptWhenFocused' is only supported by type
'spark.components.TextInput' with the theme(s) 'mobile'.
I tried adding the dependency like this
<dependency>
<groupId>com.adobe.flex.framework.themes</groupId>
<artifactId>mobile</artifactId>
<version>${flex.version}</version>
<type>swc</type>
</dependency>
And then I added this
<themes>
<theme>${settings.localRepository}/com/adobe/flex/framework/themes/mobile/${flex.version}/mobile-${flex.version}.swc</theme>
</themes>
Is it right?
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Using-flexmojos-maven-plugin-to-build-AIR-mobile-application-tp3357p3534.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.