On Mon, 16 Aug 2004 09:53:41 +0800, Eric Chow <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> Is there any problem in jar:jar? It will not add any .properties into the
> jar file.
> 
> the following is the <build> part in project.xml !!!

[snip]

>       <sourceDirectory>src/java</sourceDirectory>
>       <resources>

Add a <resource> element here.

See http://maven.apache.org/reference/project-descriptor.html and in
particular http://maven.apache.org/reference/project-descriptor.html#resources

>          <includes>
>             <include>${basedir}/src/conf/*.properties</include>
>          </includes>
>       </resources>
> 
>       <jars/>
> 
>    </build>
> 
> I have a test.properties in src/conf, but it never be added into the jar
> file.
> 
> I am using Maven 1.0 in WinXP with JDK1.4.2, I also tried in Win98, but also
> copied nothing.
> 
> Best regards,
> Eric
> 
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
http://www.multitask.com.au/people/dion/

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

Reply via email to