[seam-commits] Seam SVN: r14836 - branches/community/Seam_2_3/jboss-seam-gen/dist.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Jun 5 18:09:41 EDT 2012
Author: manaRH
Date: 2012-06-05 18:09:41 -0400 (Tue, 05 Jun 2012)
New Revision: 14836
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml
Log:
JBSEAM-4959 default driver is H2
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml 2012-06-05 13:11:16 UTC (rev 14835)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build.xml 2012-06-05 22:09:41 UTC (rev 14836)
@@ -311,7 +311,7 @@
<condition property="database.type.default" value="${old.database.type}">
<isset property="old.database.type"/>
</condition>
- <property name="database.type.default" value="hsql"/>
+ <property name="database.type.default" value="h2"/>
<input addproperty="database.type.new"
message="What kind of database are you using? [${database.type.default}]"
validargs="hsql,mysql,derby,oracle,postgres,mssql,db2,sybase,enterprisedb,h2"
@@ -459,12 +459,12 @@
<equals arg1="${database.type.new}" arg2="enterprisedb"/>
</condition>
- <!-- finally, default them to HSQL -->
+ <!-- finally, default them to H2 -->
- <property name="hibernate.dialect.default" value="org.hibernate.dialect.HSQLDialect"/>
- <property name="hibernate.connection.driver_class.default" value="org.hsqldb.jdbcDriver"/>
- <property name="hibernate.connection.dataSource_class.default" value="org.hsqldb.jdbc.jdbcDataSource"/>
- <property name="hibernate.connection.url.default" value="jdbc:hsqldb:."/>
+ <property name="hibernate.dialect.default" value="org.hibernate.dialect.H2Dialect"/>
+ <property name="hibernate.connection.driver_class.default" value="org.h2.Driver"/>
+ <property name="hibernate.connection.dataSource_class.default" value="org.h2.jdbcx.JdbcDataSource"/>
+ <property name="hibernate.connection.url.default" value="jdbc:h2:."/>
<property name="driver.jar.default" value=""/>
<input addproperty="driver.jar.new"
@@ -601,7 +601,7 @@
<condition property="has.license.jar">
<not><equals arg1="${driver.license.jar.new}" arg2=""/></not>
</condition>
- <copy todir="${jboss.home.new}/server/${jboss.domain.new}/lib" overwrite="true">
+ <copy todir="${jboss.home.new}/${jboss.domain.new}/deployments" overwrite="true">
<fileset file="${driver.jar.new}">
<include name="${driver.jar.new}"/>
</fileset>
More information about the seam-commits
mailing list