bloritsch 01/03/16 07:14:57
Modified: . Tag: xml-cocoon2 build.xml
Log:
Made Sendmail only compilable if the class is present.
Revision Changes Path
No revision
No revision
1.6.2.64 +4 -0 xml-cocoon/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/build.xml,v
retrieving revision 1.6.2.63
retrieving revision 1.6.2.64
diff -u -r1.6.2.63 -r1.6.2.64
--- build.xml 2001/03/12 15:51:42 1.6.2.63
+++ build.xml 2001/03/16 15:14:55 1.6.2.64
@@ -190,6 +190,9 @@
<available property="ora.driver.present" classname="oracle.sql.BLOB">
<classpath refid="classpath"/>
</available>
+ <available property="mail.present" classname="javax.mail.Session">
+ <classpath refid="classpath"/>
+ </available>
</target>
<!-- ===================================================================
-->
@@ -211,6 +214,7 @@
<exclude name="**/http/RequestWrapper2*.java"/>
<exclude name="**/http/HttpResponse2*.java"/>
<exclude name="**/Ora*.java" unless="ora.driver.present"/>
+ <exclude name="**/Sendmail*.java" unless="mail.present"/>
</fileset>
</copy>
</target>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]