On Mon, 2003-06-30 at 17:59, Moretti, Luciano (MED) wrote:
> I copied them manually before I ran maven.
Use the <unitTest/> element like the following:
<unitTest>
<!-- includes -->
<!-- excludes -->
<resources>
<resource>
<directory>${basedir}/path/to/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</unitTest>
> Luciano
>
> -----Original Message-----
> From: Paul Libbrecht [mailto:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> 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]