You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by du...@apache.org on 2007/08/10 12:13:54 UTC

svn commit: r564534 - in /webservices/rampart/trunk/c: build/win32/deploy_client_repo.bat build/win32/makefile samples/client/sec_echo/deploy_client_repo.bat

Author: dumindu
Date: Fri Aug 10 03:13:47 2007
New Revision: 564534

URL: http://svn.apache.org/viewvc?view=rev&rev=564534
Log:
Modified the Win32 build according to the changes that were done.

Added:
    webservices/rampart/trunk/c/build/win32/deploy_client_repo.bat
Removed:
    webservices/rampart/trunk/c/samples/client/sec_echo/deploy_client_repo.bat
Modified:
    webservices/rampart/trunk/c/build/win32/makefile

Added: webservices/rampart/trunk/c/build/win32/deploy_client_repo.bat
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/build/win32/deploy_client_repo.bat?view=auto&rev=564534
==============================================================================
--- webservices/rampart/trunk/c/build/win32/deploy_client_repo.bat (added)
+++ webservices/rampart/trunk/c/build/win32/deploy_client_repo.bat Fri Aug 10 03:13:47 2007
@@ -0,0 +1,27 @@
+echo off
+
+rem if your client repository is different, change the value.
+set CLIENT_REPO=%AXIS2C_HOME%\client_repo
+
+echo Start creating a client repository at %CLIENT_REPO%
+
+if exist  "%CLIENT_REPO%" (
+    echo %CLIENT_REPO% exists.
+) else (
+    echo Creating a new directory for client repo
+    mkdir "%CLIENT_REPO%"
+)
+
+
+@echo Copying axis2.xml to client_repo
+copy /Y ".\bin\samples\client\sec_echo\data\client.axis2.xml" "%CLIENT_REPO%\axis2.xml"
+	  
+copy /Y ".\bin\samples\secpolicy\scenario5\client-policy.xml" "%CLIENT_REPO%\policy.xml"
+
+@echo Copying libraries to client_repo
+xcopy /S/I/Q/Y "%AXIS2C_HOME%\lib" "%CLIENT_REPO%\lib"
+
+@echo Copying latest modules to client_repo
+xcopy /S/I/Q/Y "%AXIS2C_HOME%\modules" "%CLIENT_REPO%\modules"
+
+echo on
\ No newline at end of file

Modified: webservices/rampart/trunk/c/build/win32/makefile
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/build/win32/makefile?view=diff&rev=564534&r1=564533&r2=564534
==============================================================================
--- webservices/rampart/trunk/c/build/win32/makefile (original)
+++ webservices/rampart/trunk/c/build/win32/makefile Fri Aug 10 03:13:47 2007
@@ -130,9 +130,7 @@
 	      /Fo$(RAMPART_INTDIR)\samples\client\sec_echo\ /c
 	$(LD) $(LDFLAGS) $(RAMPART_INTDIR)\samples\client\sec_echo\*.obj axutil.lib axiom.lib neethi.lib \
 	      axis2_parser.lib axis2_engine.lib /OUT:$(RAMPART_DISTDIR)\bin\samples\client\sec_echo\echo.exe
-	
-	copy $(RAMPART_SOURCE_DIR)\samples\client\sec_echo\deploy_client_repo.bat $(RAMPART_DISTDIR)\bin\samples\client\sec_echo\
-	
+		
 	copy $(RAMPART_SOURCE_DIR)\samples\client\sec_echo\data\client.axis2.xml $(RAMPART_DISTDIR)\bin\samples\client\sec_echo\data\
 	
 mod_rampart_samples_credential_provider:
@@ -155,6 +153,7 @@
 
 mod_rampart_copy_deploy:
 	copy deploy_rampart.bat $(RAMPART_DISTDIR)
+	copy deploy_client_repo.bat $(RAMPART_DISTDIR)
 
 copy_sec_policy:
 	xcopy /E /I /Y $(RAMPART_SOURCE_DIR)\samples\secpolicy $(RAMPART_DISTDIR)\bin\samples\secpolicy
@@ -188,6 +187,7 @@
 deploy:
 	chdir $(RAMPART_DISTDIR)
 	deploy_rampart.bat
+	deploy_client_repo.bat
 	chdir .\..\win32
 
 install: dist deploy