Author: manaRH
Date: 2012-06-07 06:59:28 -0400 (Thu, 07 Jun 2012)
New Revision: 14871
Modified:
branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml
Log:
JBSEAM-4959 default driver is H2
Modified: branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml 2012-06-07 10:59:22 UTC (rev
14870)
+++ branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml 2012-06-07 10:59:28 UTC (rev
14871)
@@ -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>
Show replies by date