>
>
>>If yes, should it go in all/lib/ ?
>>
>
>Not possible as junit has to be installed into ant/lib for it to work.
>
Here are three target I use on 'Enterprise Object Broker*'  for getting 
zipped dependancies.

  <target name="prepare">
    <!-- blah blah -->  
    <available file="jo-tmp/jo.zip" property="jo.present"/>   
  </target>

  <target name="jo-test" unless="jo.present">
    <echo>*************************</echo>
    <echo>* Please execute target *</echo>
    <echo>* 'get-jo' in the main  *</echo>
    <echo>* build.xml build file  *</echo>   
    <echo>* to download three and *</echo>
    <echo>* a half Mb of Jo! for  *</echo>
    <echo>* the servlet API and   *</echo>
    <echo>* to give EOB WAR file  *</echo>
    <echo>* capability (buggy at  *</echo>
    <echo>* present)              *</echo>
    <echo>*************************</echo>      
    <fail message="Jo needed. See above."/>  
  </target>
 
  <target name="get-jo"> 
    <mkdir  dir="jo-tmp"/> 
    <get src="http://prdownloads.sourceforge.net/tagtraum-jo/jo1_0b7.zip";
    dest="jo-tmp/jo.zip"
    verbose="true"
    usetimestamp="true"/>   
    <unzip src="jo-tmp/jo.zip" dest="jo-tmp" />       
  </target> 


* <advert> Enterpise Object Broker is the cool fresh-design bean server 
that transpartenly publishes object via their normal java interfaces. 
 See http://eob.sourceforge.net/ </advert>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to