Hi again,
Somehow my build is running tests again. I don't know what I did. I was
asking questions on ##java, and a flame war started and then somehow
everything worked. There is no moral or antidote, but I just wanted to
thank you for your help.
Peter, Jan, and especially Steve, thank you
> -Original Message-
> From: Taemin Cim [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 16 February 2006 1:22 PM
> To: user@ant.apache.org
> Subject: RE: AW: Broken Junit targets
>
> Hi All,
>
> Thanks so much for your help so far! But the saga continues...
Hi All,
Thanks so much for your help so far! But the saga continues...
I tried Jans approach, as well as some others.
Steve suggested the -v option, so I'm going to lay it all out here.
There is four parts to this e-mail:
Ant's output,
build.xml
properties.xml
build.properties
I do feel a l
>I do not think that your second option will work. (taskdefing
>to a different name)
Mmmh, indeed ...
Why? (funny classloader stuff I think...)
BTW: I wouldnt advice reassigning standard tasks Maybe
ing some
Jan
Jan,
I do not think that your second option will work. (taskdefing to a different
name)
Peter
On 2/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> ok, now your test classes should find An
>
>
>
>
>
>
>
>
>
>
>
>
ok, now your test classes should find Ant´s junit task.
>
>
> is taskdef´ed during the core initialisation
(oata/taskdefs/default.properties).
The implementation class in ANT_HOME\lib\ant-junit.jar and the neede
> Same error.
Have you invoked ant with the -v option?
This will give you sufficient information to establish where ant is loading
things from (and info about any references that are dropped because they
don't exist.
/Steve.
--
I was then unable to
erase by deleting the offending jar.
From: "Stephen McConnell" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "'Ant Users List'"
Subject: RE: Broken Junit targets
Date: Tue, 14 Feb 2006 15:30:35 +1030
> -Origina
> -Original Message-
> From: Taemin Cim [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 14 February 2006 1:46 PM
> To: user@ant.apache.org
> Subject: RE: Broken Junit targets
>
> Hi again,
>
> >The ant-junit.jar is dependent on the JUnit jar file.
> >
Hi again,
The ant-junit.jar is dependent on the JUnit jar file.
You can add JUnit to ${ant.home}/lib, or your ${user.home}/.ant/lib
directory.
/Steve.
I have the junit.jar on the test.classpath in the build file. How else
should I associate the junit,jar witht eh ant-junit.jar? Where shou
> -Original Message-
> From: Taemin Cim [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 14 February 2006 12:25 PM
> To: user@ant.apache.org
> Subject: Broken Junit targets
>
> Hi All!
>
> I've broken my junit task in Ant...I got an error in a side
&
Hi All!
I've broken my junit task in Ant...I got an error in a side project where it
couldnt import TestCase, so I copied the junit.jar into the lib dir for that
project, and got "could not create task of type junit" when I ran Ant.
So I realized Ant has its own ant-junit.jar, so I deleted the
12 matches
Mail list logo