[jboss-svn-commits] JBL Code SVN: r16936 - in labs/jbossesb/branches/JBESB_4_2_1_GA_CP: qa and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Nov 30 06:14:25 EST 2007


Author: kevin.conner at jboss.com
Date: 2007-11-30 06:14:25 -0500 (Fri, 30 Nov 2007)
New Revision: 16936

Modified:
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/esb-config.xml
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/qa/build.xml
Log:
Increase memsize: JBESB-1154

Modified: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/esb-config.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/esb-config.xml	2007-11-30 10:57:51 UTC (rev 16935)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/esb-config.xml	2007-11-30 11:14:25 UTC (rev 16936)
@@ -8,7 +8,6 @@
     <property name="esb.ftp.location" location="${esb.config.location}/ftp"/>
     <property name="esb.ftp.server.location" location="${esb.ftp.location}/build"/>
     <property name="esb.ftp.server.name" value="ftp-server.sar"/>
-    <property name="build.location" location="./build" /> <!-- The "build" dir in product or qa, depending on which is running. -->
 
     <property name="agent.jvmarg" value=""/>
     <property name="org.jboss.esb.server.config" value="default"/>
@@ -45,15 +44,16 @@
     <macrodef name="start-server">
     	<attribute name="serverHome"/>
     	<attribute name="serverConfig"/>
+    	<element name="serverElements" implicit="yes" optional="true"/>
         <sequential>
 	    	<echo message="Starting local ESB server"/>
             <java classname="org.jboss.Main" fork="true" spawn="true"
                 dir="@{serverHome}/bin">
                 <classpath refid="server.classpath"/>
                 <jvmarg line="${agent.jvmarg}"/>
-                <sysproperty key="build.dir" value="${build.location}" />
                 <arg value="-c"/>
                 <arg value="@{serverConfig}"/>
+            	<serverElements/>
             </java>
         </sequential>
     </macrodef>
@@ -177,8 +177,12 @@
 		<copy todir="${esb.deploy-dir}/${esb.ftp.server.name}/res/conf"
 			file="${esb.config.location}/ftpd.properties" overwrite="true"/>
 	</target>
+	
+	<!-- initialise the classpath for the server -->
+	<target name="esb.init-classpath">
+	</target>
 
-    <target name="esb.init" depends="esb.init-app-server, esb.init-esb-server, esb.init-ftp-server"
+    <target name="esb.init" depends="esb.init-app-server, esb.init-esb-server, esb.init-ftp-server, esb.init-classpath"
     	 description="target for initialising properties">
     	<path id="server.classpath">
         	<pathelement location="${java.home}/lib/tools.jar"/>

Modified: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/qa/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_CP/qa/build.xml	2007-11-30 10:57:51 UTC (rev 16935)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_CP/qa/build.xml	2007-11-30 11:14:25 UTC (rev 16936)
@@ -9,6 +9,7 @@
              message="JBoss ESB requires jdk1.5 to build."/>
 
 	<property name="product.dir" location="../product"/>
+	<property name="build.location" location="build"/>
 
 	<import file="${product.dir}/esb-config.xml"/>
 
@@ -73,14 +74,18 @@
 	<target name="clean" description="Clean the QA env">
 		<echo message="Cleaning..."/>
 		
-		<delete dir="${basedir}/build" />
+		<delete dir="${build.location}" />
 		<ant dir="quickstarts" target="ci-clean" />
 	</target>
 	
 	<target name="start-server" depends="esb.setup-esb">
 		<echo>server ${org.jboss.esb.server.home} ${org.jboss.esb.test.server.config}</echo>
 		<start-server serverHome="${org.jboss.esb.server.home}"
-			serverConfig="${org.jboss.esb.test.server.config}"/>
+			serverConfig="${org.jboss.esb.test.server.config}">
+			<sysproperty key="build.dir" value="${build.location}"/>
+			<jvmarg value="-Xmx512m"/>
+			<jvmarg value="-Xms512m"/>
+		</start-server>
 		<wait-on-server/>
 	</target>
 	




More information about the jboss-svn-commits mailing list