[jboss-svn-commits] JBL Code SVN: r14102 - labs/jbossesb/trunk/product/tools/console/management-web.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Aug 8 14:29:21 EDT 2007


Author: tcunning
Date: 2007-08-08 14:29:21 -0400 (Wed, 08 Aug 2007)
New Revision: 14102

Modified:
   labs/jbossesb/trunk/product/tools/console/management-web/build.xml
Log:
bug:JBESB-738
Don't copy sql into the war.


Modified: labs/jbossesb/trunk/product/tools/console/management-web/build.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/console/management-web/build.xml	2007-08-08 18:11:12 UTC (rev 14101)
+++ labs/jbossesb/trunk/product/tools/console/management-web/build.xml	2007-08-08 18:29:21 UTC (rev 14102)
@@ -24,9 +24,6 @@
 			<lib dir="${console.dir}/management/build">
 				<include name="*.jar"/>
 			</lib>
-			<fileset dir="${mgmt.web.dir}/src/main/resources/${db}">
-				<include name="*.sql"/>
-			</fileset>
 		</war>
 	</target>
 	
@@ -36,18 +33,20 @@
 				dest="${org.jboss.esb.server.home}/server/default/deploy/management.war">
 		</unzip>
 		
+		<property file="${console.dir/management-esb/db.properties"/>	
+		<property file="${console.dir}/management/${db}.properties"/>
 		<copy file="${mgmt.web.dir}/src/main/resources/jbossesbmanagement-service.xml" 
 			todir="${org.jboss.esb.server.home}/server/default/deploy"
 			overwrite="true">
 			<filterset>
-				<filter token="db.dir" value="/management.war"/>
-				<filter token="insertrows" value="deploy/management.war/insertrows.sql"/>
+				<filter token="db.datasource" value="${db.datasource}"/>
 			</filterset>
 		</copy>
 	</target> 
 
 	<path id="toolslib">
-		<path location="${console.dir}/management/build/management.jar"/>
+		<path location="${console.dir}/management/build/management-server.jar"/>
+		<path location="${console.dir}/management/build/management-client.jar"/>
 		<pathelement location="${mgmt.web.dir}/build/hibernate"/>
 		<fileset dir="${mgmt.web.dir}/lib" includes="*.jar"/>	
 		<path location="${product.dir}/services/jbpm/lib/ext/dom4j.jar"/>
@@ -68,9 +67,12 @@
 			classpathref="toolslib"/>
 		<hibernatetool
 			destdir="${mgmt.web.dir}/build">
-			<configuration configurationfile="${console.dir}/management/monitoring.cfg.xml"/>
-			<hbm2hbmxml/>	
-			<hbm2java jdk5="true"/>	
+			<configuration configurationfile="/tmp/monitoring.cfg.xml"/>
+			<hbm2ddl
+				outputfilename="filename.ddl"
+				format="true"
+				delimiter=";"
+				/>	
 		</hibernatetool>
 	</target> 
 </project>




More information about the jboss-svn-commits mailing list