You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by jb...@apache.org on 2013/01/15 16:01:12 UTC

svn commit: r1433449 - in /syncope/trunk/standalone: pom.xml src/assemble/standalone-zip.xml src/main/resources/setenv.bat

Author: jbernhardt
Date: Tue Jan 15 15:01:12 2013
New Revision: 1433449

URL: http://svn.apache.org/viewvc?rev=1433449&view=rev
Log:
[SYNCOPE-206]
Added Windows Support

Added:
    syncope/trunk/standalone/src/main/resources/setenv.bat
Modified:
    syncope/trunk/standalone/pom.xml
    syncope/trunk/standalone/src/assemble/standalone-zip.xml

Modified: syncope/trunk/standalone/pom.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/standalone/pom.xml?rev=1433449&r1=1433448&r2=1433449&view=diff
==============================================================================
--- syncope/trunk/standalone/pom.xml (original)
+++ syncope/trunk/standalone/pom.xml Tue Jan 15 15:01:12 2013
@@ -118,6 +118,8 @@ under the License.
                 
                 <copy file="src/main/resources/setenv.sh"
                       todir="${work.dir}/apache-tomcat-${tomcat.version}/bin"/>
+				<copy file="src/main/resources/setenv.bat"
+                      todir="${work.dir}/apache-tomcat-${tomcat.version}/bin"/>
                 <replace file="${work.dir}/apache-tomcat-${tomcat.version}/conf/server.xml" 
                          token="8080" value="${cargo.servlet.port}"/>
                 

Modified: syncope/trunk/standalone/src/assemble/standalone-zip.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/standalone/src/assemble/standalone-zip.xml?rev=1433449&r1=1433448&r2=1433449&view=diff
==============================================================================
--- syncope/trunk/standalone/src/assemble/standalone-zip.xml (original)
+++ syncope/trunk/standalone/src/assemble/standalone-zip.xml Tue Jan 15 15:01:12 2013
@@ -32,6 +32,7 @@ under the License.
       <outputDirectory>apache-syncope-standalone-${project.version}</outputDirectory>
       <excludes>
         <exclude>**/*.sh</exclude>
+		<exclude>**/*.bat</exclude>
       </excludes>
     </fileSet>
     <fileSet>
@@ -39,6 +40,7 @@ under the License.
       <outputDirectory>apache-syncope-standalone-${project.version}/apache-tomcat-${tomcat.version}/bin</outputDirectory>
       <includes>
         <include>*.sh</include>
+		<include>*.bat</include>
       </includes>
       <fileMode>0755</fileMode>
     </fileSet>

Added: syncope/trunk/standalone/src/main/resources/setenv.bat
URL: http://svn.apache.org/viewvc/syncope/trunk/standalone/src/main/resources/setenv.bat?rev=1433449&view=auto
==============================================================================
--- syncope/trunk/standalone/src/main/resources/setenv.bat (added)
+++ syncope/trunk/standalone/src/main/resources/setenv.bat Tue Jan 15 15:01:12 2013
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+set JAVA_OPTS=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms2048m -Xmx2048m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC