In your project.xml include test resources in your classpath by adding :

  <build>
    ...
    <unitTest>
      <resources>
        <resource>
          <directory>${basedir}/src/path_to_web-inf</directory>
          <includes>
            <include>**/*.properties</include>
            <include>**/*.xml</include>
          </includes>
        </resource>
      </resources>
    </unitTest>

  </build>

Nicolas,

-------




"David Chelimsky" <[EMAIL PROTECTED]>
02/11/2003 19:26
Veuillez r�pondre � "Maven Users List"

 
        Pour :  "Maven Users List" <[EMAIL PROTECTED]>
        cc : 
        Objet : MockStrutsTestCase/Maven


I'm trying to run a MockStrutsTestCase on the client side using Maven.
MockStrutsTestCase requires that the directory that contains WEB-INF be on
the classpath (per http://strutstestcase.sourceforge.net/). This is so it
can find your config files in WEB-INF. In my ant build.xml I was able to
accomplish this by setting up the classpath and including this directory 
as
a pathelement. How can I accomplish the equivalent using Maven?


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

Reply via email to