jvanzyl     02/03/11 09:36:43

  Modified:    .        build.xml default.properties deps.list
  Log:
  Adding commons-lang as a dependency.
  
  Revision  Changes    Path
  1.9       +19 -11    jakarta-turbine-2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.xml 13 Feb 2002 05:01:22 -0000      1.8
  +++ build.xml 11 Mar 2002 17:36:43 -0000      1.9
  @@ -16,6 +16,7 @@
       <path id="classpath">
           <pathelement location="${activation.jar}"/>
           <pathelement location="${commons-collections.jar}"/>
  +        <pathelement location="${commons-lang.jar}"/>
           <pathelement location="${ecs.jar}"/>
           <pathelement location="${regexp.jar}"/>
           <pathelement location="${jdbc.jar}"/>
  @@ -48,28 +49,35 @@
     </path>
   
     <target
  -    name="update-jars">
  -    
  +    name="update-jars" 
  +    description="Update the jars from jakarta site" 
  +    depends="update-jars-proxy,update-jars-noproxy">
  +  </target>
  +
  +  <target name="prepare.httpget">    
       <taskdef 
         name="httpget" 
         className="org.apache.tdk.task.Get">
         <classpath refid="update.classpath"/>
       </taskdef>
  -    
  -    <!-- If you need proxy support you'll have to manually add:
  -    
  -         proxyHost="x"
  -         proxyPort="y"
  -       
  -         We'll clean this up but it worked for a user behind a proxy.
  -    -->
  -    
  +  </target>
  +
  +  <target name="update-jars-noproxy" unless="proxy.host" depends="prepare.httpget">
       <httpget
         baseUrl="http://jakarta.apache.org/turbine/jars/";
         dest="${lib.repo}"
         dependencyFile="deps.list"
       />
  +  </target>    
   
  +  <target name="update-jars-proxy" if="proxy.host" depends="prepare.httpget">
  +    <httpget
  +      baseUrl="http://jakarta.apache.org/turbine/jars/";
  +      dest="${lib.repo}"
  +      dependencyFile="deps.list"
  +      proxyHost="${proxy.host}"
  +      proxyPort="${proxy.port}"
  +    />
     </target>    
   
       <!-- ================================================================== -->
  
  
  
  1.5       +1 -0      jakarta-turbine-2/default.properties
  
  Index: default.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/default.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- default.properties        8 Feb 2002 09:08:33 -0000       1.4
  +++ default.properties        11 Mar 2002 17:36:43 -0000      1.5
  @@ -41,6 +41,7 @@
   
   activation.jar = ${lib.repo}/activation-1.0.1.jar
   commons-collections.jar = ${lib.repo}/commons-collections.jar
  +commons-lang.jar = ${lib.repo}/commons-lang-0.1-dev.jar
   ecs.jar = ${lib.repo}/ecs-1.4.1.jar
   regexp.jar = ${lib.repo}/jakarta-regexp-1.3-dev.jar
   jdbc.jar = ${lib.repo}/jdbc2_0-stdext.jar
  
  
  
  1.3       +1 -0      jakarta-turbine-2/deps.list
  
  Index: deps.list
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/deps.list,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- deps.list 12 Feb 2002 21:56:41 -0000      1.2
  +++ deps.list 11 Mar 2002 17:36:43 -0000      1.3
  @@ -1,5 +1,6 @@
   
<non-distributable>|activation.jar|http://java.sun.com/products/javabeans/glasgow/jaf.html
   commons-collections.jar
  +commons-lang-0.1-dev.jar
   ecs-1.4.1.jar
   jakarta-regexp-1.3-dev.jar
   jdbc2_0-stdext.jar
  
  
  

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

Reply via email to