I've actually just shut down but from investigation earlier, I can say that in 
the FlexMojos generated dumped config, there is no theme section (uncommented) 
and the -X output shows the compiler argument for theme has no value.
Does that help?

On 7 Oct 2010, at 01:07, Marvin Froeder <[email protected]> wrote:

> http://flexmojos.sonatype.org/faq.html#9
> 
> The same principle applies, compare the working config.xml with the 
> problematic one.
> 
> VELO
> 
> On Thu, Oct 7, 2010 at 3:02 AM, Rupert <[email protected]> wrote:
> Whoops, that was my trying extra things in case it helped!  It behaves
> the same with that removed.
> 
> Btw, you should see the following error:
> ====
> C:\Users\MyUser\Dev\FlexMojoTest\sparktest\src\main\flex\Main.mxml(3):
> Error: The style 'contentBackgroundColor' is only supported by type
> 'spark.components.Group' with the theme(s) 'spark'.
> 
>  <s:Group contentBackgroundColor="#FF0000">
> ====
> 
> On Oct 7, 12:46 am, Marvin Froeder <[email protected]> wrote:
> > Since when spark.swc is a theme?
> >
> > On Thu, Oct 7, 2010 at 2:43 AM, Rupert <[email protected]> wrote:
> > > Bryan,
> > > Tried both, no difference AFAICT.
> >
> > > Velo,
> > > No, doesn't seem to.  Out of interest, this thread is the same
> > > problem:
> >
> > >http://groups.google.com/group/flex-mojos/browse_frm/thread/7c62cda86...
> > > (yes, it's revealed because we're using spark-only styles)
> >
> > > I've created a simple test case with 1 pom and 1 mxml, inlined below.
> > > HTH!
> >
> > > ##
> > > ## src/main/flex/Main.mxml
> > > ##
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
> > > xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://
> > > ns.adobe.com/flex/mx">
> > >  <s:Group contentBackgroundColor="#FF0000">
> > >    <mx:Text text="Hello World!"/>
> > >  </s:Group>
> > > </s:Application>
> >
> > > ##
> > > ## pom.xml
> > > ##
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
> > >www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
> > > maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd";>
> > >  <modelVersion>4.0.0</modelVersion>
> >
> > >  <groupId>blah</groupId>
> > >  <artifactId>sparktest</artifactId>
> > >  <version>1.0-SNAPSHOT</version>
> > >  <packaging>swf</packaging>
> > >  <name>sparktest Flex</name>
> >
> > >  <properties>
> > >    <flex.version>4.1.0.16076</flex.version>
> > >    <flexmojos.version>4.0-SNAPSHOT</flexmojos.version>
> > >  </properties>
> >
> > >  <build>
> > >    <sourceDirectory>src/main/flex</sourceDirectory>
> > >    <plugins>
> > >      <plugin>
> > >        <groupId>org.sonatype.flexmojos</groupId>
> > >        <artifactId>flexmojos-maven-plugin</artifactId>
> > >        <version>${flexmojos.version}</version>
> > >        <extensions>true</extensions>
> > >        <dependencies>
> > >          <dependency>
> > >            <groupId>com.adobe.flex</groupId>
> > >            <artifactId>compiler</artifactId>
> > >            <version>${flex.version}</version>
> > >            <type>pom</type>
> > >          </dependency>
> > >        </dependencies>
> > >      </plugin>
> > >    </plugins>
> > >  </build>
> >
> > >  <dependencies>
> > >    <dependency>
> > >      <groupId>com.adobe.flex.framework</groupId>
> > >      <artifactId>flex-framework</artifactId>
> > >      <version>${flex.version}</version>
> > >      <type>pom</type>
> > >    </dependency>
> > >    <dependency>
> > >      <groupId>com.adobe.flex</groupId>
> > >      <artifactId>compiler</artifactId>
> > >      <version>${flex.version}</version>
> > >      <type>pom</type>
> > >    </dependency>
> > >    <dependency>
> > >      <groupId>com.adobe.flex.framework</groupId>
> > >      <artifactId>sparkskins</artifactId>
> > >      <version>${flex.version}</version>
> > >      <type>swc</type>
> > >      <!-- theme -->
> > >      <scope>theme</scope>
> > >      <!-- <scope>compile</scope> -->
> > >    </dependency>
> > >    <dependency>
> > >      <groupId>com.adobe.flex.framework</groupId>
> > >      <artifactId>spark</artifactId>
> > >      <version>${flex.version}</version>
> > >      <type>swc</type>
> > >      <scope>theme</scope>
> > >    </dependency>
> > >  </dependencies>
> >
> > > </project>
> >
> > > --
> > > 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/
> 
> -- 
> 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/

Reply via email to