User: user57
Date: 02/02/15 00:11:01
Modified: varia build.xml
Log:
o Moved MailService to varia, made is use the xml snippent stuff
to get its properties (this is *ucking cool) and made it deployable
with mail-service.xml
Revision Changes Path
1.19 +25 -2 contrib/varia/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/contrib/varia/build.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- build.xml 15 Feb 2002 06:32:23 -0000 1.18
+++ build.xml 15 Feb 2002 08:11:01 -0000 1.19
@@ -12,7 +12,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.18 2002/02/15 06:32:23 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.19 2002/02/15 08:11:01 user57 Exp $ -->
<project default="main" name="JBoss/Varia">
@@ -99,6 +99,20 @@
<pathelement path="${sun.jaas.lib}/jaas.jar"/>
</path>
+ <!-- JavaBeans Activation Framework (JAF) -->
+ <property name="sun.jaf.root" value="${project.thirdparty}/sun/jaf"/>
+ <property name="sun.jaf.lib" value="${sun.jaf.root}/lib"/>
+ <path id="sun.jaf.classpath">
+ <pathelement path="${sun.jaf.lib}/activation.jar"/>
+ </path>
+
+ <!-- JavaMail -->
+ <property name="sun.javamail.root" value="${project.thirdparty}/sun/javamail"/>
+ <property name="sun.javamail.lib" value="${sun.javamail.root}/lib"/>
+ <path id="sun.javamail.classpath">
+ <pathelement path="${sun.javamail.lib}/mail.jar"/>
+ </path>
+
<!-- Java Transaction Service (JTS) -->
<property name="sun.jts.root" value="${project.thirdparty}/sun/jts"/>
<property name="sun.jts.lib" value="${sun.jts.root}/lib"/>
@@ -177,6 +191,8 @@
<path refid="sun.jmx.classpath"/>
<path refid="sun.jaxp.classpath"/>
<path refid="sun.jaas.classpath"/>
+ <path refid="sun.jaf.classpath"/>
+ <path refid="sun.javamail.classpath"/>
<path refid="sun.jts.classpath"/>
<path refid="sun.servlet.classpath"/>
<path refid="apache.log4j.classpath"/>
@@ -299,7 +315,7 @@
| documentation compiles.
-->
<target name="compile"
- depends="compile-classes, compile-rmi"
+ depends="compile-classes, compile-rmi, compile-etc"
description="Compile all source files."/>
<!-- Compile all class files -->
@@ -387,6 +403,13 @@
</jar>
-->
+
+ <!-- Build mail-plugin.jar -->
+ <jar jarfile="${build.lib}/mail-plugin.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/mail/MailService*.class"/>
+ </fileset>
+ </jar>
<!-- Build hsqldb-plugin.jar -->
<jar jarfile="${build.lib}/hsqldb-plugin.jar">
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development