Author: berndf
Date: Tue Oct  7 11:48:20 2008
New Revision: 702581

URL: http://svn.apache.org/viewvc?rev=702581&view=rev
Log:
fix for JAMES-848

Modified:
    james/server/trunk/spring-deployment/build.xml

Modified: james/server/trunk/spring-deployment/build.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/build.xml?rev=702581&r1=702580&r2=702581&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/build.xml (original)
+++ james/server/trunk/spring-deployment/build.xml Tue Oct  7 11:48:20 2008
@@ -363,10 +363,13 @@
         <chmod file="${spring-deployment.target.bin.dir}/run.sh" perm="a+rx" />
 
         <!-- create windows startup script-->
+               <pathconvert 
property="spring-deployment.target.lib.dir.windows" targetos="windows">
+                 <path><pathelement 
location="${spring-deployment.target.lib.dir}" /></path>
+               </pathconvert>
         <echo file="${spring-deployment.target.bin.dir}/run.bat" 
append="false">
 java -cp ${exe-classpath};../conf org.apache.james.container.spring.Main       
      
         </echo>
-        <replace file="${spring-deployment.target.bin.dir}/run.bat" 
token="${spring-deployment.target.lib.dir}" value="../lib" />
+        <replace file="${spring-deployment.target.bin.dir}/run.bat" 
token="${spring-deployment.target.lib.dir.windows}" value="../lib" />
         <replace file="${spring-deployment.target.bin.dir}/run.bat" token=":" 
value=";" />
     </target>
     



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

Reply via email to