On Wed, 2003-07-16 at 09:31, Ben Walding wrote:
> You want:
> 
> <resource>
>            <directory>src</directory>
>            <includes>
>                <include>package/images/**/*.gif</include>
>            </includes>
> </resource>
> 
> 
> No idea of whether that target path thing works or not, but it isn't 
> required.

target path works as it's used by Maven itself to package up the
localized mesages.

> Erik Husby wrote:
> 
> > I am a new user of Maven and most likely are simply missing something.
> >
> > I have this existing project structure
> >    src/package/images/group1/*.gif
> >    src/package/images/group2/*.gif
> >    src/package/*.java
> >
> > I want the contents of  src/package/images to end up in the jar file 
> > under "package/images/group1" and "package/images/group2"
> >
> > I have the resource defined as
> > <resource>
> >            <directory>src/package/images</directory>
> >            <includes>
> >                <include>**/*.gif</include>
> >            </includes>
> >            <targetpath>package/images</targetpath>
> >        </resource>
> >
> > But all the images end up in the jar file at the root directory level. 
> > No "package/images/group1" or "package/images/group2" gets created.
> >
> > What is the proper way to get the gif files into the proper directories?
> >
> > Thanks in advance.
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to