commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-commons-sandbox/email build.xml
Date Thu, 28 Feb 2002 18:01:31 GMT
dlr         02/02/28 10:01:31

  Modified:    email    build.xml
  Log:
  Patch by Stefan Bodewig <bodewig@bost.de> to handle the move of
  NestableException from Util to Lang.
  
  Revision  Changes    Path
  1.2       +17 -3     jakarta-commons-sandbox/email/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/email/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- build.xml	9 Aug 2001 22:50:48 -0000	1.1
  +++ build.xml	28 Feb 2002 18:01:30 -0000	1.2
  @@ -1,7 +1,7 @@
   <project name="Jakarta Commons Email" default="jar" basedir=".">
   
   <!--
  -        $Id: build.xml,v 1.1 2001/08/09 22:50:48 jon Exp $
  +        $Id: build.xml,v 1.2 2002/02/28 18:01:30 dlr Exp $
   -->
   
   <!-- ========== Initialize Properties =================================== -->
  @@ -56,6 +56,7 @@
     <path id="classpath">
       <pathelement location="${javamail.jar}"/>
       <pathelement location="${jaf.jar}"/>
  +    <pathelement location="${commons-lang.jar}"/>
       <pathelement location="${commons-util.jar}"/>
     </path>
   
  @@ -85,7 +86,13 @@
       <filter token="version" value="${component.version}"/>
   
       <available
  -      classname="org.apache.commons.util.exception.NestableException" 
  +      classname="org.apache.commons.lang.exception.NestableException" 
  +      property="commons-lang.present"
  +      classpathref="classpath"
  +    />
  +
  +    <available
  +      classname="org.apache.commons.util.GenerateUniqueId"
         property="commons-util.present"
         classpathref="classpath"
       />
  @@ -118,6 +125,13 @@
       </antcall>
     </target>
   
  +  <target name="check.commons-lang" unless="commons-lang.present">
  +    <antcall target="property-warning">
  +      <param name="name" value="commons-lang.jar"/>
  +      <param name="value" value="${commons-lang.jar}"/>
  +    </antcall>
  +  </target>
  +
     <target name="check.commons-util" unless="commons-util.present">
       <antcall target="property-warning">
         <param name="name" value="commons-util.jar"/>
  @@ -125,7 +139,7 @@
       </antcall>
     </target>
   
  -  <target name="prepare" depends="init,check.commons-util,
  +  <target name="prepare" depends="init,check.commons-lang,check.commons-util,
                                     check.javamail,check.jaf"
       description="Prepare build directory">
       <mkdir dir="${build.home}"/>
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message