On Tue, 2002-02-19 at 18:59, [EMAIL PROTECTED] wrote:
> jon 02/02/19 15:59:26
>
> Modified: . build.xml
> Log:
> for some reason dlr removed the adding of junit to the classpath,
> however, the <available> task fails to find junit because it isn't
> in the classpath. we still have the problem of not being able to
> run junit unless it is in the system classpath though because
> the <junit> task doens't find junit and produces this error:...:-(
You need to put the junit jar in in $ANT_LIB/home if you're going to use
the <junit> task. Works differently then using <java> to invoke a test
runner. I'm not sure why this is but it's in the ant docs.
> /Users/jon/checkout/xml-rpc/build.xml:247: Could not create task of
> type: junit. Common solutions are to use taskdef to declare your task,
> or, if this is an optional task, to put the optional.jar in the lib
> directory of your ant installation (ANT_HOME).
>
> I bet the solution is to put junit.jar into $ANT_HOME/lib and forget
> about it...
>
> -jon
>
> Revision Changes Path
> 1.13 +2 -1 xml-rpc/build.xml
>
> Index: build.xml
> ===================================================================
> RCS file: /home/cvs/xml-rpc/build.xml,v
> retrieving revision 1.12
> retrieving revision 1.13
> diff -u -r1.12 -r1.13
> --- build.xml 19 Feb 2002 23:01:53 -0000 1.12
> +++ build.xml 19 Feb 2002 23:59:26 -0000 1.13
> @@ -19,6 +19,7 @@
> <pathelement location="${jnet.jar}"/>
> <pathelement location="${jcert.jar}"/>
> <pathelement location="${servlet.jar}"/>
> + <pathelement location="${junit.jar}"/>
> </path>
>
> <!-- ================================================================== -->
> @@ -105,7 +106,7 @@
> | You must define the following property in order |
> | to build XML-RPC: |
> | |
> - | ${name}
> + | ${name} = ${value}
> | |
> | You can set this property in the provided build.properties |
> | file, or you may set this property in your |
>
>
>
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org