RE: AW: Broken Junit targets

2006-02-16 Thread Taemin Cim
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

RE: AW: Broken Junit targets

2006-02-16 Thread Stephen McConnell
> -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...

RE: AW: Broken Junit targets

2006-02-15 Thread Taemin Cim
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

AW: Broken Junit targets

2006-02-15 Thread Jan.Materne
>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

Re: Broken Junit targets

2006-02-15 Thread Peter Reilly
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

AW: Broken Junit targets

2006-02-15 Thread Jan.Materne
> > > > > > > > > > > > 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

RE: Broken Junit targets

2006-02-14 Thread Stephen McConnell
> 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. --

RE: Broken Junit targets

2006-02-14 Thread Taemin Cim
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

RE: Broken Junit targets

2006-02-13 Thread Stephen McConnell
> -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. > >

RE: Broken Junit targets

2006-02-13 Thread Taemin Cim
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

RE: Broken Junit targets

2006-02-13 Thread Stephen McConnell
> -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 &

Broken Junit targets

2006-02-13 Thread Taemin Cim
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