[wsas-java-dev] svn commit r4559 - in trunk/wsas/java/modules:
core/conf/hibernate distribution distribution/resources
svn at wso2.org
svn at wso2.org
Sun Jul 1 02:52:42 PDT 2007
Author: saminda
Date: Sun Jul 1 02:52:29 2007
New Revision: 4559
Added:
trunk/wsas/java/modules/distribution/resources/
trunk/wsas/java/modules/distribution/resources/hibernate.properties
Removed:
trunk/wsas/java/modules/core/conf/hibernate/hibernate.properties
Modified:
trunk/wsas/java/modules/distribution/pom.xml
Log:
Added the filtering
Modified: trunk/wsas/java/modules/distribution/pom.xml
==============================================================================
--- trunk/wsas/java/modules/distribution/pom.xml (original)
+++ trunk/wsas/java/modules/distribution/pom.xml Sun Jul 1 02:52:29 2007
@@ -10,11 +10,17 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>wso2wsas-distribution</artifactId>
- <packaging>pom</packaging>
+ <packaging>jar</packaging>
<version>SNAPSHOT</version>
<name>WSO2 Web Services Application Server - Distribution</name>
<build>
+ <resources>
+ <resource>
+ <directory>resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
@@ -385,7 +391,7 @@
<property name="sqlOutput"
value="target/schema-export.sql"/>
<property name="dbURL"
- value="jdbc:derby:${baseuri}/${dist.temp.dir}/database/WSO2WSAS_DB;create=true"/>
+ value="jdbc:derby:${basedir}/${dist.temp.dir}/database/WSO2WSAS_DB;create=true"/>
<path id="hibernate.maven.compile.classpath">
<path refid="maven.compile.classpath"/>
@@ -407,7 +413,7 @@
<delete dir="database"/>
<SchemaExport
- properties="../core/conf/hibernate/hibernate.properties"
+ properties="${basedir}/target/classes/hibernate.properties"
quiet="yes"
create="yes"
text="no"
Added: trunk/wsas/java/modules/distribution/resources/hibernate.properties
==============================================================================
--- (empty file)
+++ trunk/wsas/java/modules/distribution/resources/hibernate.properties Sun Jul 1 02:52:29 2007
@@ -0,0 +1,22 @@
+#
+# Copyright 2005,2006 WSO2, Inc. http://www.wso2.org
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+hibernate.show_sql=false
+hibernate.use_outer_join=true
+hibernate.connection.driver_class=org.apache.derby.jdbc.EmbeddedDriver
+hibernate.connection.url=jdbc:derby:${basedir}/${dist.temp.dir}/database/WSO2WSAS_DB;create=true
+hibernate.connection.username=wso2wsas
+hibernate.dialect=org.hibernate.dialect.DerbyDialect
\ No newline at end of file
More information about the Wsas-java-dev
mailing list