Still copied on root :(

On 3 avr, 14:13, Marvin Froeder <[email protected]> wrote:
> Try this:<build>
>        <sourceDirectory>src</sourceDirectory>
>
>  <outputDirectory>${project.build.directory}/flex-compiler</outputDirectory>
>
>                <resources>
>             <resource>
>               <directory>src</directory>
>             </resource>
>           </resources>
>
>        <plugins>
>            <plugin>
>            (...)
>
> VELO
>
> On Fri, Apr 3, 2009 at 9:10 AM, Grut <[email protected]> wrote:
>
> > That doesn't work. Here is my pom.xml :
>
> > <build>
> >        <sourceDirectory>src</sourceDirectory>
> >        <outputDirectory>${project.build.directory}/flex-compiler</
> > outputDirectory>
>
> >                <resources>
> >             <resource>
>
> > <directory>/src/fr/kapit/common/assets/image/icon/</directory>
> >             </resource>
> >           </resources>
>
> >        <plugins>
> >            <plugin>
> >            (...)
> >            <includeFiles>
>
> >  <file>/src/fr/kapit/common/assets/image/icon/closeIcon.png</file>
>
> >  <file>/src/fr/kapit/common/assets/image/icon/collapseIcon.png</file>
> >            </includeFiles>
>
> > And the two png files are still created on the root of the swc
> > library. I want them to be copied in the directory specified (/src/fr/
> > kapit/common/assets/image/icon/)
>
> > Regards,
> > Yann.
>
> > On 3 avr, 12:33, Marvin Froeder <[email protected]> wrote:
> > > You can define resources folders by doing this:
> >http://maven.apache.org/plugins/maven-resources-plugin/examples/resou...
>
> > > VELO
>
> > > On Fri, Apr 3, 2009 at 7:08 AM, Grut <[email protected]> wrote:
>
> > > > Hi guys,
>
> > > > I need to include files (image and xml) in my swc library.
> > > > So I use the include-files parameter.
>
> > > > One says me that I have to put them in /src/main/resources so they
> > > > won't be copied in the root in my library.
>
> > > > But my images are in a different folder (/src/fr/kapit/...). And if I
> > > > keep this structure, my images are copied in the root folder of the
> > > > libray.
>
> > > > Does someone manage to include & copy resources that are not in /src/
> > > > main/resources folder?
>
> > > > Thanks,
> > > > Yann.
--~--~---------~--~----~------------~-------~--~----~
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