You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Libbrecht <pa...@activemath.org> on 2003/07/01 00:06:34 UTC
Re: How does maven set the class path?
Having the following in your project.xml might help:
<resources>
<resource>
<directory>${basedir}/src/java</directory>
<includes><include>**/*.properties</include></includes>
</resource>
<resource>
<directory>${basedir}/src/resources</directory>
<includes><include>**/*</include></includes>
</resource>
</resources>
but I fear it doesn't answer your question...
Paul
Moretti, Luciano (MED) wrote:
> I copied them manually before I ran maven.
>
> Luciano
>
> -----Original Message-----
> From: Paul Libbrecht [mailto:paul@activemath.org]
> Sent: Monday, June 30, 2003 4:55 PM
> To: Maven Users List
> Subject: Re: How does maven set the class path?
>
>
> Moretti, Luciano (MED) wrote:
>
>>Hello Again....
>>
>>I've got a junit test that requires access to a resource file on the
>>class path.
>>
>>The files are normally copied to the classes/com/ge/gemsit/test
>>directory when built directly with Ant, but this does not see to work
>>with maven.
>>
>>What does maven set the class path to by default? How does one add
>>areas to the class path?
>
>
> Luciano,
>
> Can it be your resources are not copied ?
>
> Paul
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org