You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by Ganga Sah <ga...@yahoo.com> on 2003/12/25 02:49:21 UTC

"ant drt" in v2 gives error "Could not create task or type of type: junit"

Hi,
I get following error when running "ant drt" from
latest cvs checkout of xml-xmlbeans/v2.
(I do have optional.jar under my ANT_HOME/lib. Also
tried latest ant-1.6.0 release).

-----
rundrt:
     [echo] Running random tester
     [java] seed=0
     [java] iterations=20
     [java] threads=1
     [java] docs=10

     [java] read/write
     [java] with save
     [java] noquery
     [java] Seed: 0Seed: 1Seed: 2Seed: 3Seed: 4Seed:
5Seed: 6Seed: 7Seed: 8Seed:
 9Seed: 10Seed: 11Seed: 12Seed: 13Seed: 14Seed:
15Seed: 16Seed: 17Seed: 18Seed:
19Seconds to run random tests: 38


     [echo] Running xbean product drt tests
     [echo] JUnit output being sent to
xbean/build/test/output/drt-product.txt

BUILD FAILED
C:\J\apache\xml-xmlbeans\v2\build.xml:144: Could not
create task or type of type
: junit.

Ant could not find the task or a class this task
relies upon.

thanks,
ganga

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: "ant drt" in v2 gives error "Could not create task or type of type: junit"

Posted by Ganga Sah <ga...@yahoo.com>.
Thanks a lot Mik.
As suggested by you, adding junit.jar to my
ANT_HOME/lib has solved this problem.
This seems to be a required (manual) setup as ANT
installtion does not have junit.jar!!
thanks,
ganga
--- Mik Lernout <mi...@futurestreet.org> wrote:
> Hey,
> 
> Looks mike something is wrong with your ant
> installation: you should put 
> a junit binary jar (get it at http://www.junit.org)
> and put it in 
> ANT_HOME/lib.
> The error message is not great :-)
> 
> Mik
> 
> 
> 
> Ganga Sah wrote:
> 
> >Hi,
> >I get following error when running "ant drt" from
> >latest cvs checkout of xml-xmlbeans/v2.
> >(I do have optional.jar under my ANT_HOME/lib. Also
> >tried latest ant-1.6.0 release).
> >
> >-----
> >rundrt:
> >     [echo] Running random tester
> >     [java] seed=0
> >     [java] iterations=20
> >     [java] threads=1
> >     [java] docs=10
> >
> >     [java] read/write
> >     [java] with save
> >     [java] noquery
> >     [java] Seed: 0Seed: 1Seed: 2Seed: 3Seed:
> 4Seed:
> >5Seed: 6Seed: 7Seed: 8Seed:
> > 9Seed: 10Seed: 11Seed: 12Seed: 13Seed: 14Seed:
> >15Seed: 16Seed: 17Seed: 18Seed:
> >19Seconds to run random tests: 38
> >
> >
> >     [echo] Running xbean product drt tests
> >     [echo] JUnit output being sent to
> >xbean/build/test/output/drt-product.txt
> >
> >BUILD FAILED
> >C:\J\apache\xml-xmlbeans\v2\build.xml:144: Could
> not
> >create task or type of type
> >: junit.
> >
> >Ant could not find the task or a class this task
> >relies upon.
> >
> >thanks,
> >ganga
> >
> >__________________________________
> >Do you Yahoo!?
> >New Yahoo! Photos - easier uploading and sharing.
> >http://photos.yahoo.com/
> >
> >-
>
---------------------------------------------------------------------
> >To unsubscribe, e-mail:  
> xmlbeans-dev-unsubscribe@xml.apache.org
> >For additional commands, e-mail:
> xmlbeans-dev-help@xml.apache.org
> >Apache XMLBeans Project -- URL:
> http://xml.apache.org/xmlbeans/
> >
> >.
> >
> >  
> >
> 
> 
> 
> -
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:  
> xmlbeans-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xmlbeans-dev-help@xml.apache.org
> Apache XMLBeans Project -- URL:
> http://xml.apache.org/xmlbeans/
> 


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: "ant drt" in v2 gives error "Could not create task or type of type: junit"

Posted by Ganga Sah <ga...@yahoo.com>.
Thanks a lot Mik.
As suggested by you, adding junit.jar to my
ANT_HOME/lib has solved this problem.
This seems to be a required (manual) setup as ANT
installtion does not have junit.jar!!
thanks,
ganga
--- Mik Lernout <mi...@futurestreet.org> wrote:
> Hey,
> 
> Looks mike something is wrong with your ant
> installation: you should put 
> a junit binary jar (get it at http://www.junit.org)
> and put it in 
> ANT_HOME/lib.
> The error message is not great :-)
> 
> Mik
> 
> 
> 
> Ganga Sah wrote:
> 
> >Hi,
> >I get following error when running "ant drt" from
> >latest cvs checkout of xml-xmlbeans/v2.
> >(I do have optional.jar under my ANT_HOME/lib. Also
> >tried latest ant-1.6.0 release).
> >
> >-----
> >rundrt:
> >     [echo] Running random tester
> >     [java] seed=0
> >     [java] iterations=20
> >     [java] threads=1
> >     [java] docs=10
> >
> >     [java] read/write
> >     [java] with save
> >     [java] noquery
> >     [java] Seed: 0Seed: 1Seed: 2Seed: 3Seed:
> 4Seed:
> >5Seed: 6Seed: 7Seed: 8Seed:
> > 9Seed: 10Seed: 11Seed: 12Seed: 13Seed: 14Seed:
> >15Seed: 16Seed: 17Seed: 18Seed:
> >19Seconds to run random tests: 38
> >
> >
> >     [echo] Running xbean product drt tests
> >     [echo] JUnit output being sent to
> >xbean/build/test/output/drt-product.txt
> >
> >BUILD FAILED
> >C:\J\apache\xml-xmlbeans\v2\build.xml:144: Could
> not
> >create task or type of type
> >: junit.
> >
> >Ant could not find the task or a class this task
> >relies upon.
> >
> >thanks,
> >ganga
> >
> >__________________________________
> >Do you Yahoo!?
> >New Yahoo! Photos - easier uploading and sharing.
> >http://photos.yahoo.com/
> >
> >-
>
---------------------------------------------------------------------
> >To unsubscribe, e-mail:  
> xmlbeans-dev-unsubscribe@xml.apache.org
> >For additional commands, e-mail:
> xmlbeans-dev-help@xml.apache.org
> >Apache XMLBeans Project -- URL:
> http://xml.apache.org/xmlbeans/
> >
> >.
> >
> >  
> >
> 
> 
> 
> -
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:  
> xmlbeans-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xmlbeans-dev-help@xml.apache.org
> Apache XMLBeans Project -- URL:
> http://xml.apache.org/xmlbeans/
> 


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: "ant drt" in v2 gives error "Could not create task or type of type: junit"

Posted by Mik Lernout <mi...@futurestreet.org>.
Hey,

Looks mike something is wrong with your ant installation: you should put 
a junit binary jar (get it at http://www.junit.org) and put it in 
ANT_HOME/lib.
The error message is not great :-)

Mik



Ganga Sah wrote:

>Hi,
>I get following error when running "ant drt" from
>latest cvs checkout of xml-xmlbeans/v2.
>(I do have optional.jar under my ANT_HOME/lib. Also
>tried latest ant-1.6.0 release).
>
>-----
>rundrt:
>     [echo] Running random tester
>     [java] seed=0
>     [java] iterations=20
>     [java] threads=1
>     [java] docs=10
>
>     [java] read/write
>     [java] with save
>     [java] noquery
>     [java] Seed: 0Seed: 1Seed: 2Seed: 3Seed: 4Seed:
>5Seed: 6Seed: 7Seed: 8Seed:
> 9Seed: 10Seed: 11Seed: 12Seed: 13Seed: 14Seed:
>15Seed: 16Seed: 17Seed: 18Seed:
>19Seconds to run random tests: 38
>
>
>     [echo] Running xbean product drt tests
>     [echo] JUnit output being sent to
>xbean/build/test/output/drt-product.txt
>
>BUILD FAILED
>C:\J\apache\xml-xmlbeans\v2\build.xml:144: Could not
>create task or type of type
>: junit.
>
>Ant could not find the task or a class this task
>relies upon.
>
>thanks,
>ganga
>
>__________________________________
>Do you Yahoo!?
>New Yahoo! Photos - easier uploading and sharing.
>http://photos.yahoo.com/
>
>- ---------------------------------------------------------------------
>To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
>Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>
>.
>
>  
>



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: "ant drt" in v2 gives error "Could not create task or type of type: junit"

Posted by Mik Lernout <mi...@futurestreet.org>.
Hey,

Looks mike something is wrong with your ant installation: you should put 
a junit binary jar (get it at http://www.junit.org) and put it in 
ANT_HOME/lib.
The error message is not great :-)

Mik



Ganga Sah wrote:

>Hi,
>I get following error when running "ant drt" from
>latest cvs checkout of xml-xmlbeans/v2.
>(I do have optional.jar under my ANT_HOME/lib. Also
>tried latest ant-1.6.0 release).
>
>-----
>rundrt:
>     [echo] Running random tester
>     [java] seed=0
>     [java] iterations=20
>     [java] threads=1
>     [java] docs=10
>
>     [java] read/write
>     [java] with save
>     [java] noquery
>     [java] Seed: 0Seed: 1Seed: 2Seed: 3Seed: 4Seed:
>5Seed: 6Seed: 7Seed: 8Seed:
> 9Seed: 10Seed: 11Seed: 12Seed: 13Seed: 14Seed:
>15Seed: 16Seed: 17Seed: 18Seed:
>19Seconds to run random tests: 38
>
>
>     [echo] Running xbean product drt tests
>     [echo] JUnit output being sent to
>xbean/build/test/output/drt-product.txt
>
>BUILD FAILED
>C:\J\apache\xml-xmlbeans\v2\build.xml:144: Could not
>create task or type of type
>: junit.
>
>Ant could not find the task or a class this task
>relies upon.
>
>thanks,
>ganga
>
>__________________________________
>Do you Yahoo!?
>New Yahoo! Photos - easier uploading and sharing.
>http://photos.yahoo.com/
>
>- ---------------------------------------------------------------------
>To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
>Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>
>.
>
>  
>



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/