axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r578035 - in /webservices/axis2/trunk/java/modules: distribution/pom.xml kernel/pom.xml kernel/resources/smtpfault-module.xml
Date Fri, 21 Sep 2007 09:51:09 GMT
Author: saminda
Date: Fri Sep 21 02:51:09 2007
New Revision: 578035

URL: http://svn.apache.org/viewvc?rev=578035&view=rev
Log:
Added smtpfault.mar to the distribution 

Modified:
    webservices/axis2/trunk/java/modules/distribution/pom.xml
    webservices/axis2/trunk/java/modules/kernel/pom.xml
    webservices/axis2/trunk/java/modules/kernel/resources/smtpfault-module.xml

Modified: webservices/axis2/trunk/java/modules/distribution/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/distribution/pom.xml?rev=578035&r1=578034&r2=578035&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/distribution/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/distribution/pom.xml Fri Sep 21 02:51:09 2007
@@ -320,7 +320,8 @@
 				<copy file="../../modules/ping/target/ping-${version}.mar" tofile="target/tmp-repository/modules/ping-${ping.mar.version}.mar"/>
 				<copy file="../../modules/mex-mar/target/mex-${version}.mar" tofile="target/tmp-repository/modules/mex-${mex.mar.version}.mar"/>
 				<copy file="../../modules/scripting/target/axis2-scripting-${version}.mar" tofile="target/tmp-repository/modules/scripting-${scripting.mar.version}.mar"/>
-			
+				<copy file="../../modules/kernel/target/smtpfault.mar" tofile="target/tmp-repository/modules/smtpfault.mar"/>
+
 				<!-- generate modules.list -->			        
 				<echo file="target/tmp-repository/modules/modules.list" append="false">
 #

Modified: webservices/axis2/trunk/java/modules/kernel/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/pom.xml?rev=578035&r1=578034&r2=578035&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/kernel/pom.xml Fri Sep 21 02:51:09 2007
@@ -246,7 +246,28 @@
 							<goal>run</goal>
 						</goals>
 					</execution>
-				</executions>
+                    <execution>
+						<id>fault-module-package</id>
+						<phase>package</phase>
+						<configuration>
+							<tasks>
+								<property name="aar.tmp.dir" location="${basedir}/target/tmp"/>
+                                <mkdir dir="${aar.tmp.dir}/META-INF"/>
+                                <copy file="${basedir}/resources/smtpfault-module.xml"
tofile="${aar.tmp.dir}/META-INF/module.xml"/>
+                                <copy todir="${aar.tmp.dir}">
+                                    <fileset dir="${basedir}/target/classes">
+                                        <include name="**/*SMTPFaultHandler.class"/>
+                                    </fileset>
+                                </copy>
+                                <jar destfile="${basedir}/target/smtpfault.mar" basedir="${aar.tmp.dir}"/>
+                                <delete dir="${aar.tmp.dir}"/>
+                            </tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+                </executions>
 			</plugin>
 		</plugins>
 	</build>

Modified: webservices/axis2/trunk/java/modules/kernel/resources/smtpfault-module.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/resources/smtpfault-module.xml?rev=578035&r1=578034&r2=578035&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/resources/smtpfault-module.xml (original)
+++ webservices/axis2/trunk/java/modules/kernel/resources/smtpfault-module.xml Fri Sep 21
02:51:09 2007
@@ -16,7 +16,7 @@
   ~ specific language governing permissions and limitations
   ~ under the License.
   -->
-<module name="addressing" class="org.apache.axis2.addressing.AddressingModule">
+<module name="smtpfault" class="org.apache.axis2.addressing.AddressingModule">
     <Description>This module is to handle the problem of not sending fault in the server
side when SMTP transport is used</Description>
     <InFlow>
         <handler name="SMTPFaultHandler" class="org.apache.axis2.transport.mail.server.SMTPFaultHandler">



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message