Author: serge
Date: Mon Feb 21 20:25:16 2005
New Revision: 154783
URL: http://svn.apache.org/viewcvs?view=rev&rev=154783
Log:
Print a helpful message if you don't have activation.jar and javamail.jar in
place.
Modified:
james/server/branches/branch_2_1_fcs/build.xml
Modified: james/server/branches/branch_2_1_fcs/build.xml
URL:
http://svn.apache.org/viewcvs/james/server/branches/branch_2_1_fcs/build.xml?view=diff&r1=154782&r2=154783
==============================================================================
--- james/server/branches/branch_2_1_fcs/build.xml (original)
+++ james/server/branches/branch_2_1_fcs/build.xml Mon Feb 21 20:25:16 2005
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- ==========================================================================
- James build file $Revision: 1.116.2.33 $ Committed on $Date: 2004/06/14
20:44:13 $ by: $Author: noel $
+ James build file $Revision$ Committed on $Date$ by: $Author$
Authors:
James Project <[email protected]>
@@ -180,6 +180,18 @@
<echo message="Preparing code"/>
<tstamp/>
+ <available property="javamail.present"
classname="javax.mail.MessagingException">
+ <classpath>
+ <pathelement location="lib/mail-1.3.1.jar" />
+ </classpath>
+ </available>
+ <available property="activation.present"
classname="javax.activation.DataHandler">
+ <classpath>
+ <pathelement location="lib/activation.jar" />
+ </classpath>
+ </available>
+ <fail unless="javamail.present">You must download JavaMail and put
mail-1.3.1.jar in the lib directory.</fail>
+ <fail unless="activation.present">You must download Activation and put
activation.jar in the lib directory.</fail>
<available property="jdbc3.present" classname="java.sql.Savepoint"/>
<available file="${phoenix.dir}/bin" type="dir"
property="phoenix.bin.present"/>
<mkdir dir="${dist.dir}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]