I wanted to post this after
http://groups.google.com/group/flex-mojos/browse_thread/thread/87a94e9e53a6b4ef/198bb376aa58e97a?hl=en_US&lnk=gst&q=compile+css+to+swf#198bb376aa58e97a


So I followed the technique described to compile css to swf in the
above posting
         <executions>
                        <execution>
                          <id>compile-css-to-swf</id>
                          <phase>compile</phase>
                          <goals>
                            <goal>compile-swf</goal>
                          </goals>
                          <configuration>
                            
<sourceFile>..resources/themes/style.css</sourceFile>
                            
<output>target/styles/console-flex-1.0.0-SNAPSHOT_style.swf</
output>
                          </configuration>
                        </execution>
        </executions>

and it works because it seems to back out of the sourceDirectory.
Also the example
http://svn.sonatype.org//flexmojos/trunk/flexmojos-testing/flexmojos-test-harness/projects/concept/runtime-css/pom.xml
works fine, where the css is at the sourceDirectory level
<sourceFile>ComplexStyles.css</sourceFile>
but if the css is within the sources directory like
<sourceFile>themes/style.css</sourceFile>

I get the error Error: A file found in a source-path must have the
same package structure 'themes', as the definition's package, ''.

Is it possible to get it working with the current structure or do I
have to move the css files outside the sourceDirectory?

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