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:[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]



Reply via email to