Here is a portion of my pom:

...
<build>
  <sourceDirectory>src/main/flex/themes</sourceDirectory>
    <plugins>
       <plugin>
          <groupId>org.sonatype.flexmojos</groupId>
          <artifactId>flexmojos-maven-plugin</artifactId>
           <version>3.4.2</version>
           <configuration>
              <sourcePaths>
                  <sourcePath>src/main/flex</sourcePath>
              </sourcePaths>
              <includeSources>
                 <includeSource>src/main/flex/themes</includeSource>
              </includeSources>
           </configuration>
           <dependencies>
              <dependency>
                 <groupId>com.adobe.flex</groupId>
                 <artifactId>compiler</artifactId>
                 <version>${flexVersion}</version>
                 <type>pom</type>
              </dependency>
           </dependencies>

       <plugin>
    <plugins>
<build>
...

when I run this I get the following error:

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------------
[INFO] Source file not expecified and no default found!
[INFO]
------------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------------
.....

my directory structure looks like this:

-src
----main
------flex
--------themes
-----------img (dir)
-----------theme.css
-----------theme.swf
-----------theme.swc
-----------ASClasses.as...

I want the plugin to be able to take the css file as the input and
reference the .swf and .swc if needed by the css and spit out a .swf
file after compilation.


On Jan 4, 7:58 pm, Marvin Froeder <[email protected]> wrote:
> Sorry, I don't get the problem....  what went wrong?
>
> On Tue, Jan 4, 2011 at 5:07 PM, delali <[email protected]> wrote:
> > I can't seem to find the documentation on how to build a new custom
> > flex theme.  My question is similar to this issue:
>
> >http://groups.google.com/group/flex-mojos/browse_thread/thread/e209d0...
>
> > As an input for the src I may have:
> > 1) swf
> > 2) css and or
> > 3) swc.
>
> > I want to take the input source and build one swf as an output.
>
> > How can I do that?
>
> > In ant I can use the mxmlc task with
>
> > output=${theme.build.dir}/themeName.swf
>
> > file=${themeRoot}/newTheme.css and
>
> > compiler.source-path path-element=${themeRoot}
>
> > <compiler.library-path dir=${themeRoot}>
> >    <include name="**/*.swc"/>
> > </compiler.library-path>
>
> > Can this be accomplished with flexmojos?
>
> > The documentation about theme seems to describe compiling in new
> > themes but not creating new ones:
>
> >https://repository.sonatype.org/content/sites/maven-sites/flexmojos/3...
>
> > Any help with this?
>
> > --
> > 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