ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markku Saarela <markku.saar...@entra.fi>
Subject Re: bootstrap.sh - ant-junit.jar does not contain any classes (1.6.1)
Date Thu, 18 Mar 2004 08:04:37 GMT
In ant 1.6.1 you can put these dependencies to directory [User 
home]/.ant/lib

Cheers,
Markku

Antoine Lévy-Lambert wrote:

> Put junit.jar in :
>
> [ant source directory]/lib/optional
>
> all the optional dependencies for the build should be under 
> lib/optional (I think).
>
> Also, I think you need to do bootstrap.sh + build.sh install-lite to 
> create an ant distro.
>
> Cheers,
>
> Antoine
>
>
> ezust@users.sourceforge.net wrote:
>
>> I had the junit task working for an older version of Ant, but as soon 
>> as I upgraded to 1.6.1 (source distro) and ran bootstrap, I was 
>> unable to get it to create an ant-junit.jar file which contains any 
>> classes.
>>
>> I copied junit.jar into /usr/local/apache-ant-1.6.1/lib before 
>> running bootstrap.sh.  The bootstrap process detected junit.jar in 
>> that directory, and unlike the other optional tasks, does not report 
>> it is creating a manifest-only file for it. However, the jar file 
>> only contains xsl files - no classes.
>>
>>
>> [sae@linuxbox2] /usr/local/apache-ant-1.6.1/build/lib> jar -tvf 
>> ant-junit.jar
>>     0 Thu Mar 18 00:27:14 EST 2004 META-INF/
>>   429 Thu Mar 18 00:27:12 EST 2004 META-INF/MANIFEST.MF
>>     0 Thu Mar 18 00:26:46 EST 2004 org/
>>     0 Thu Mar 18 00:26:46 EST 2004 org/apache/
>>     0 Thu Mar 18 00:26:50 EST 2004 org/apache/tools/
>>     0 Thu Mar 18 00:27:08 EST 2004 org/apache/tools/ant/
>>     0 Thu Mar 18 00:27:06 EST 2004 org/apache/tools/ant/taskdefs/
>>     0 Thu Mar 18 00:27:08 EST 2004 
>> org/apache/tools/ant/taskdefs/optional/
>>     0 Thu Mar 18 00:27:08 EST 2004 
>> org/apache/tools/ant/taskdefs/optional/junit/
>>     0 Thu Mar 18 00:27:08 EST 2004 
>> org/apache/tools/ant/taskdefs/optional/junit/xsl/
>> 27524 Thu Mar 18 00:27:08 EST 2004 
>> org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
>> 17679 Thu Mar 18 00:27:08 EST 2004 
>> org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-noframes.xsl
>>
>> Any idea why this is the case?
>>
>>
>>
>>
>>  
>>
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message