[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    svn commit: r449921 - /webservices/sandesha/trunk/java/maven.xml
From:       chamikara () apache ! org
Date:       2006-09-26 5:59:43
Message-ID: 20060926055943.E1EF11A981A () eris ! apache ! org
[Download RAW message or body]

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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic