Hello,

yes I looked at the sample you have posted but I think your CSS file is in
the directory described at the "<sourceDirectory>" tag of the parent's pom.
Indeed, If I have css files in the sourceDirectory, it works. But if I have
css files in a different path, it won't.

I have this error which appears :

"[ERROR] D:\workspace\Project_X\src\fr\xxxx\yyyyyy\main.css:[-1,-1] A file
found in a source-path must have the same
package structure 'fr.xxxx.yyyyyy', as the definition's package, ''.
"

Is there a way to compile a CSS file which is not directly under the
sourceDirectory?

thanks

Simon


2009/11/23 velo <[email protected]>

> Did you looked at the sample I posted on this same topic?
>
>
> VELO
>
> On Nov 20, 7:48 am, simon cailly <[email protected]> wrote:
> > Hello, I think I'm in the same case. I want to compile CSS files into
> SWF,
> > even if CSS files are not in "/src" directory or "/style" directory, they
> > can be anywhere.
> > I want to CSS files ares considerated like mxml files and can be compiled
> > like them.
> >
> > Is there any possibility? I'm using 3.2.0 version of flex-mojos
> >
> > thanks
> >
> > Simon Cailly
> >
> > 2009/10/1 Richard Rodseth <[email protected]>
> >
> > > Thanks. That looks simple, but seems to imply that the styles must be
> in a
> > > separate project. I agree that seems more Maveny, but is the other way
> > > possible too?
> >
> > > On Wed, Sep 30, 2009 at 4:56 PM, Marvin Froeder <[email protected]>
> wrote:
> >
> > >> Take a look on this project used on flexmojos integration tests:
> >
> > >>http://svn.sonatype.org//flexmojos/trunk/flexmojos-testing/flexmojos-.
> ..
> >
> > >> <
> http://svn.sonatype.org//flexmojos/trunk/flexmojos-testing/flexmojos-...>
> > >> VELO
> >
> > >> On Wed, Sep 30, 2009 at 8:15 PM, Richard Rodseth <[email protected]
> >wrote:
> >
> > >>> Sorry, I'm not following, and can't find relevant how-to
> documentation on
> > >>> the Wiki. The snippet I copied was from Brian on this mailing list (I
> > >>> searched for CSS).
> >
> > >>> I just want to do the equivalent of FlexBuilder Compile CSS to SWF.
> >
> > >>> On Wed, Sep 30, 2009 at 4:00 PM, Marvin Froeder <[email protected]
> >wrote:
> >
> > >>>> I mean you can invoke flexmojos goals individually like you did,
> well,
> > >>>> you can, but is likely that won't work.
> >
> > >>>> On Wed, Sep 30, 2009 at 7:57 PM, Richard Rodseth <
> [email protected]>wrote:
> >
> > >>>>> I assume you mean "yes" to the upgrade. Not sure what you mean by
> the
> > >>>>> rest. I'll try to find an example, unless you can point me to one
> quickly.
> >
> > >>>>> Thanks.
> >
> > >>>>> On Wed, Sep 30, 2009 at 3:55 PM, Marvin Froeder <[email protected]
> >wrote:
> >
> > >>>>>> Yes, but you must have that on a individual project.
> >
> > >>>>>> VELO
> >
> > >>>>>> On Wed, Sep 30, 2009 at 7:33 PM, Richard Rodseth <
> [email protected]>wrote:
> >
> > >>>>>>> Is there a 2.0.3 way to compile CSS to SWF or is it required that
> I
> > >>>>>>> upgrade myself and all my colleagues?
> > >>>>>>> The following (based on a thread here) fails to find the
> artifact:
> >
> > >>>>>>> flexmojos-maven-plugin
> >
> > >>>>>>> Thanks.
> >
> > >>>>>>> <build>
> > >>>>>>>             <sourceDirectory>src</sourceDirectory>
> > >>>>>>>             <plugins>
> > >>>>>>>                 <plugin>
> > >>>>>>>                     <groupId>info.flex-mojos</groupId>
> > >>>>>>>                     <artifactId>flex-compiler-mojo</artifactId>
> > >>>>>>>                      <version>${flex-mojos.version}</version>
> > >>>>>>>                     <configuration>
> >
> > >>>>>>>
> <resourceBundlePath>${basedir}/locale/{locale}</resourceBundlePath>
> > >>>>>>>                         <compiledLocales>
> > >>>>>>>                             <locale>en_US</locale>
> > >>>>>>>                         </compiledLocales>
> > >>>>>>>                     </configuration>
> > >>>>>>>                 </plugin>
> >
> > >>>>>>>                 <plugin>
> > >>>>>>>                      <groupId>info.flex-mojos</groupId>
> > >>>>>>>
>  <artifactId>flexmojos-maven-plugin</artifactId>
> > >>>>>>>                      <version>${flex-mojos.version}</version>
> > >>>>>>>                      <extensions>true</extensions>
> > >>>>>>>                      <executions>
> > >>>>>>>                         <execution>
> > >>>>>>>                              <id>compile-css-to-swf</id>
> > >>>>>>>                              <phase>compile</phase>
> > >>>>>>>                              <goals>
> > >>>>>>>                                <goal>compile-swf</goal>
> > >>>>>>>                              </goals>
> > >>>>>>>                              <configuration>
> >
> > >>>>>>> <sourceFile>styles/blue.css</sourceFile>
> > >>>>>>>                               <!-- <output></output> -->
> > >>>>>>>                              </configuration>
> > >>>>>>>                         </execution>
> > >>>>>>>                      </executions>
> > >>>>>>>                 </plugin>
> >
> > >>>>>>>             </plugins>
> > >>>>>>>         </build>
> >
> > > --~--~---------~--~----~------------~-------~--~----~
> > > 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?hl=en?hl=en
> >
> > >http://blog.flex-mojos.info/
> > > -~----------~----~----~----~------~----~------~--~---
>
> --
> 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?hl=en?hl=en
>
> http://blog.flex-mojos.info/
>

-- 
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?hl=en?hl=en

http://blog.flex-mojos.info/

Reply via email to