Author: chamikara
Date: Mon Sep 25 22:59:42 2006
New Revision: 449921

URL: http://svn.apache.org/viewvc?view=rev&rev=449921
Log:
Moved the secure-module creation to its own temp directory.


Modified:
    webservices/sandesha/trunk/java/maven.xml

Modified: webservices/sandesha/trunk/java/maven.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/maven.xml?view=diff&rev=449921&r1=449920&r2=449921
==============================================================================
--- webservices/sandesha/trunk/java/maven.xml (original)
+++ webservices/sandesha/trunk/java/maven.xml Mon Sep 25 22:59:42 2006
@@ -164,7 +164,10 @@
        <goal name="secure:create" prereqs="server:create,client:create">

                <ant:property name="secure.client.path" 
value="${build.repo.dir}/secure-client"/>

                <ant:property name="secure.server.path" 
value="${build.repo.dir}/secure-server"/>

-

+         

+               <ant:property name="secure.temp.path" 
value="${build.temp.dir}/secure" />

+               <ant:mkdir dir="${secure.temp.path}" />

+                               

                <copy todir="${secure.client.path}">

                  <fileset dir="${build.repo.dir}/client">

                    <exclude name="modules/${mar.name}"/>

@@ -178,10 +181,10 @@
                </copy>

 

                <!-- Replace the security manager in the module.xml file -->

-               <ant:unjar src="${maven.build.dir}/${mar.name}" 
dest="${build.temp.dir}"/>

-               <ant:copy  file="${dir.test.resources}/test.module.xml" 
tofile="${build.temp.dir}/META-INF/module.xml" overwrite="true"/>

-               <ant:jar 
jarfile="${secure.client.path}/modules/${test.module.name}.mar" 
basedir="${build.temp.dir}"/>

-               <ant:jar 
jarfile="${secure.server.path}/modules/${test.module.name}.mar" 
basedir="${build.temp.dir}"/>

+               <ant:unjar src="${maven.build.dir}/${mar.name}" 
dest="${secure.temp.path}"/>

+               <ant:copy  file="${dir.test.resources}/test.module.xml" 
tofile="${secure.temp.path}/META-INF/module.xml" overwrite="true"/>

+               <ant:jar 
jarfile="${secure.client.path}/modules/${test.module.name}.mar" 
basedir="${secure.temp.path}"/>

+               <ant:jar 
jarfile="${secure.server.path}/modules/${test.module.name}.mar" 
basedir="${secure.temp.path}"/>

                

                <delete dir="${build.temp.dir}"/>

        </goal>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to