Hi Sean,

for my MAVEN b7 I added the following entry to project.xml

    <dependency>
      <id>junit</id>
      <version>3.8.1</version>
      <url/>    
    </dependency>


Siegfried Goeschl


On 20 Jan 2003 at 16:39, Sean Langford wrote:

> Hello,
> 
> Maven looks really cool.  I'm trying to get it working against our
> project here at work.  I'm having two problems:
> 
> 1) target "test:compile" does not seem to be including junit.jar.  I
> get tons of compilation errors to this effect.
> 
> 2) when I delete all my unit tests from my source tree to move
> onwards, then during the "test:test" target I get: "taskdef class
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be
> found"
> 
> So it seems test:compile is not finding junit.jar, and test:test is
> not finding optional.jar.  This is strange - I installed ant-1.5 and
> junit following the instructions for each carefully.  I have a
> build.xml which uses 'JUnitTask' and it works normally.  I've also
> tries adding:
> 
> <properties>
>      <classloader>root</classloader>
> </properties>
> 
> to the junit dependancy in my project.xml to no avail.  Anyone have
> any insight as to what might be causing this?
> 
> Thanks!
> 
> Sean
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]> For
> additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 



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

Reply via email to