[jboss-cvs] jboss-seam/seam-gen ...
Gavin King
gavin.king at jboss.com
Sat Dec 16 08:43:15 EST 2006
User: gavin
Date: 06/12/16 08:43:15
Modified: seam-gen build.xml
Log:
JBSEAM-539
Revision Changes Path
1.54 +11 -2 jboss-seam/seam-gen/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build.xml,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- build.xml 15 Dec 2006 09:24:51 -0000 1.53
+++ build.xml 16 Dec 2006 13:43:15 -0000 1.54
@@ -165,7 +165,7 @@
<property name="database.type.default" value="hsql"/>
<input addproperty="database.type.new"
message="What kind of database are you using? [${database.type.default}] "
- validargs="hsql,mysql,oracle,postgres,mssql,db2,sybase,"
+ validargs="hsql,mysql,oracle,postgres,mssql,db2,sybase,enterprisedb,"
defaultvalue="${database.type.default}"/>
<!-- if the database type did not change, default to the previous values -->
@@ -203,6 +203,9 @@
<condition property="hibernate.dialect.default" value="org.hibernate.dialect.SybaseDialect">
<equals arg1="${database.type.new}" arg2="sybase"/>
</condition>
+ <condition property="hibernate.dialect.default" value="org.hibernate.dialect.PostgreSQLDialect">
+ <equals arg1="${database.type.new}" arg2="enterprisedb"/>
+ </condition>
<condition property="hibernate.connection.driver_class.default" value="org.hsqldb.jdbcDriver">
<equals arg1="${database.type.new}" arg2="hsql"/>
@@ -225,6 +228,9 @@
<condition property="hibernate.connection.driver_class.default" value="com.sybase.jdbc2.jdbc.SybDriver">
<equals arg1="${database.type.new}" arg2="sybase"/>
</condition>
+ <condition property="hibernate.connection.driver_class.default" value="com.edb.Driver">
+ <equals arg1="${database.type.new}" arg2="enterprisedb"/>
+ </condition>
<condition property="hibernate.connection.url.default" value="jdbc:hsqldb:.">
<equals arg1="${database.type.new}" arg2="hsql"/>
@@ -247,6 +253,9 @@
<condition property="hibernate.connection.url.default" value="jdbc:sybase:Tds:localhost:5000/test">
<equals arg1="${database.type.new}" arg2="sybase"/>
</condition>
+ <condition property="hibernate.connection.url.default" value="jdbc:edb://localhost:5444/edb">
+ <equals arg1="${database.type.new}" arg2="enterprisedb"/>
+ </condition>
<!-- finally, default them to HSQL -->
More information about the jboss-cvs-commits
mailing list