Try it....

On Wed, Jan 5, 2011 at 3:33 PM, delali <[email protected]> wrote:

> That is what I am asking....I am new to this and typically when I have
> a mxml application file on the source path it is found automatically.
>
> Is it possible to set the source as the .css file? in the
> configuration tag
>
> <configuration>
>   <sourceFile>src/main/flex/theme/theme.css</sourceFile>
> </configuration>
>
> Based on:
> https://repository.sonatype.org/content/sites/maven-sites/flexmojos/3.8/compile-swf-mojo.html#sourceFile
>
> Is that what I need to do?  Or do you have some other direction?
>
>
>
> On Jan 5, 10:16 am, Marvin Froeder <[email protected]> wrote:
> > Why don't you set the source file then?
> >
> > On Wed, Jan 5, 2011 at 1:10 PM, delali <[email protected]> wrote:
> > > 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]>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
> >
> > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> <flex-mojos%[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]<flex-mojos%[email protected]>
> <flex-mojos%[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]<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