Hi,

NestableException is in the lang module, not util.

Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-commons-sandbox/email/build.xml,v
retrieving revision 1.1
diff -u -r1.1 build.xml
--- build.xml   9 Aug 2001 22:50:48 -0000       1.1
+++ build.xml   28 Feb 2002 11:42:03 -0000
@@ -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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to