Thanks for your answers.
I first tried to specify my ressource directory like this
<build>
...
<resources>
<resource>
<directory>ressource</directory>
<filtering>true</filtering>
</resource>
</resources>
...
</build>
But it didn't work.
Then I added the dependency to threadlocaltoolkit-problems and it
works fine.
Thanks a lot
On 16 mai, 16:12, Christofer Dutz <[email protected]>
wrote:
> And beware the threadlocaltoolkit-problems discussed in the section
> "Things I recommend to
> change":http://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
>
> Chris
>
> 2011/5/16 Christofer Dutz <[email protected]>:
>
>
>
> > resources seems to be the maven default. If you use something else you
> > have to tell maven about it, but that's pretty messy.
> > I'd suggest to stick to "resources". When having a look at your pom it
> > looks like you are trying to embed language resources.
> > I usually put those in "src/main/locales/{resource-code}" I looked
> > this up once and this seems to be the default for language-resources.
> > "resources" is used for embedding other stuff such as images, fonts,
> > other media.
>
> > Chris
>
> > 2011/5/16 tombc <[email protected]>:
> >> Hi
>
> >> I am building a SDK 3.6 application with flexmojos 4.0 beta7. All my
> >> images are embedded with a starting slash. (And it works :))
>
> >> My images are within the standard directory structure, so "src/main/
> >> resources/images/etc/etc.png"
>
> >> A critical thing to do was to add the following to my pom
>
> >> <dependency>
> >> <!-- workaround for maven
> >> not recognizing resources when using
> >> compiler
> >> artifact below -->
> >>
> >> <groupId>org.sonatype.flexmojos</groupId>
> >>
> >> <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
> >>
> >> <version>${flexmojos.version}</version>
> >> </dependency>
>
> >> --
> >> 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/- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -
--
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/