You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jiri Prazak <bo...@gmail.com> on 2005/04/07 14:12:54 UTC

problems building ant-testutil.jar

Hello all,

I have downloaded Ant 1.6.2 sources and need to build the test-jar
task so I can start writing tests for build files but it fails.  First
it fails with the following error

BUILD FAILED
H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build.xml:907:H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build\testcases
not found.

so I create this directory manually by hand and then it builds alright
but the ant-testutil.jar file is empty.  I was not able to find any
information about it on the web so I wonder what am I doing wrong.  I
tried many things but nothing seems to work.

Thanks in advance

Jirka

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: problems building ant-testutil.jar

Posted by Jiri Prazak <bo...@gmail.com>.
This does work either.  When I put it in the classpath though then it
works.  I think someone should update the documentation... Atleast for
1.6.2 anyway.

Thanks Jirka

On Apr 7, 2005 2:32 PM, Peter Reilly <pe...@apache.org> wrote:
> You need junit.jar in the right directory (lib/optional)
> Also ant 1.6.3 beta has been released, you should use that.
> 
> 1) tar xjf ~/uploads/apache-ant-1.6.3beta1-src.tar.bz2
> 2) cd apache-ant-1.6.3beta1
> 3) mkdir lib/optional
> 4) cp ~/.ant/lib/junit.jar lib/optional
> 5) ./build.sh test-jar
> 
> enjoy!
> 
> Peter
> 
> Jiri Prazak wrote:
> 
> >Hello all,
> >
> >I have downloaded Ant 1.6.2 sources and need to build the test-jar
> >task so I can start writing tests for build files but it fails.  First
> >it fails with the following error
> >
> >BUILD FAILED
> >H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build.xml:907:H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build\testcases
> >not found.
> >
> >so I create this directory manually by hand and then it builds alright
> >but the ant-testutil.jar file is empty.  I was not able to find any
> >information about it on the web so I wonder what am I doing wrong.  I
> >tried many things but nothing seems to work.
> >
> >Thanks in advance
> >
> >Jirka
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: problems building ant-testutil.jar

Posted by Peter Reilly <pe...@apache.org>.
You need junit.jar in the right directory (lib/optional)
Also ant 1.6.3 beta has been released, you should use that.

1) tar xjf ~/uploads/apache-ant-1.6.3beta1-src.tar.bz2
2) cd apache-ant-1.6.3beta1
3) mkdir lib/optional
4) cp ~/.ant/lib/junit.jar lib/optional
5) ./build.sh test-jar

enjoy!

Peter

Jiri Prazak wrote:

>Hello all,
>
>I have downloaded Ant 1.6.2 sources and need to build the test-jar
>task so I can start writing tests for build files but it fails.  First
>it fails with the following error
>
>BUILD FAILED
>H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build.xml:907:H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build\testcases
>not found.
>
>so I create this directory manually by hand and then it builds alright
>but the ant-testutil.jar file is empty.  I was not able to find any
>information about it on the web so I wonder what am I doing wrong.  I
>tried many things but nothing seems to work.
>
>Thanks in advance
>
>Jirka
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org