Author: azeez Date: Thu Jun 4 12:01:59 2009 New Revision: 37810 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=37810
Log: Adding derby & hibernate deps to WSAS since these are not included in Carbon anymore Modified: trunk/wsas/java/docs/xdoc/tools/change_passwd.xml trunk/wsas/java/modules/distribution/pom.xml trunk/wsas/java/modules/distribution/src/assembly/bin.xml trunk/wsas/java/modules/distribution/src/assembly/dist.xml trunk/wsas/java/pom.xml Modified: trunk/wsas/java/docs/xdoc/tools/change_passwd.xml URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/docs/xdoc/tools/change_passwd.xml?rev=37810&r1=37809&r2=37810&view=diff ============================================================================== --- trunk/wsas/java/docs/xdoc/tools/change_passwd.xml (original) +++ trunk/wsas/java/docs/xdoc/tools/change_passwd.xml Thu Jun 4 12:01:59 2009 @@ -50,22 +50,22 @@ <ol> <li>The WSO2 WSAS database URL: <p>By default, WSO2 WSAS ships with the Apache Derby database and hence - the default URL would be jdbc:derby:/home/<strong>[user + the default URL would be jdbc:h2:/home/<strong>[user name]</strong>/.wso2wsas/database/WSO2CARBON_DB (For Windows - jdbc:derby:C:\Documents and Settings\<strong>[user + jdbc:h2:C:\Documents and Settings\<strong>[user name]</strong>\.wso2wsas\database\WSO2CARBON_DB) . This may differ if a different database was specified during the installation process.Then the - URL will be in the form of jdbc:derby:CARBON_HOME/database/WSO2CARBON_DB, + URL will be in the form of jdbc:h2:CARBON_HOME/database/WSO2CARBON_DB, where CARBON_HOME will be the custom location specified during the installation.</p> </li> <li>The Database driver class: - <p>For the default Apache Derby database, the driver will be + <p>For the default H2 database, the driver will be automatically picked up by the system. If a different database is used, the driver class needs to be specified.</p> </li> <li>The Database username and password: - <p>Again for the default Apache Derby database, the default username and + <p>Again for the default H2 database, the default username and password will be used by the system. However, if a different username/password is used, you are required to reset the admin password.</p> @@ -128,13 +128,13 @@ </table> <p><b>Example</b></p> -<pre>chpasswd --db-url "jdbc:derby:CARBON_HOME/database/WSO2CARBON_DB"</pre> +<pre>chpasswd --db-url "jdbc:h2:CARBON_HOME/database/WSO2CARBON_DB"</pre> <p><b>Example (on Windows)</b></p> -<pre>chpasswd --db-url "jdbc:derby:C:\Documents and Settings\user\.wso2wsas\database\WSO2CARBON_DB"</pre> +<pre>chpasswd --db-url "jdbc:h2:C:\Documents and Settings\user\.wso2wsas\database\WSO2CARBON_DB"</pre> <p><b>Example (on *nix)</b></p> -<pre>chpasswd --db-url jdbc:derby:home/user/.wso2wsas/database/WSO2CARBON_DB</pre> +<pre>chpasswd --db-url jdbc:h2:home/user/.wso2wsas/database/WSO2CARBON_DB</pre> <p>If you have not provided the --username or --new-password input parameters, the system will prompt you for it. If the password was updated Modified: trunk/wsas/java/modules/distribution/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/distribution/pom.xml?rev=37810&r1=37809&r2=37810&view=diff ============================================================================== --- trunk/wsas/java/modules/distribution/pom.xml (original) +++ trunk/wsas/java/modules/distribution/pom.xml Thu Jun 4 12:01:59 2009 @@ -644,6 +644,16 @@ <!--<version>136</version>--> <!--</dependency>--> + <dependency> + <groupId>org.apache.derby.wso2</groupId> + <artifactId>derby</artifactId> + <version>10.3.2.1wso2v1</version> + </dependency> + + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate</artifactId> + </dependency> </dependencies> <build> @@ -779,19 +789,19 @@ </execution> </executions> <configuration> - <frameworkBundles> - <param> - org.eclipse.equinox.util,1.0.100.v20090520-1800,file:plugins/org.eclipse.equinox.util-1.0.100.v20090520-1800.jar,10,true - </param> - <param> - org.eclipse.osgi.services,3.2.0.v20090520-1800,file:plugins/org.eclipse.osgi.services-3.2.0.v20090520-1800.jar,10,true - </param> - <param> - org.eclipse.equinox.ds,1.1.0.v20090520-1800,file:plugins/org.eclipse.equinox.ds-1.1.0.v20090520-1800.jar,10,true - </param> - <param> - org.wso2.carbon.bridge,1.0.0,file:plugins/org.wso2.carbon.servletbridge.extensionbundle_1.0.0.jar,10,false - </param> + <frameworkBundles> + <param> + org.eclipse.equinox.util,1.0.100.v20090520-1800,file:plugins/org.eclipse.equinox.util-1.0.100.v20090520-1800.jar,10,true + </param> + <param> + org.eclipse.osgi.services,3.2.0.v20090520-1800,file:plugins/org.eclipse.osgi.services-3.2.0.v20090520-1800.jar,10,true + </param> + <param> + org.eclipse.equinox.ds,1.1.0.v20090520-1800,file:plugins/org.eclipse.equinox.ds-1.1.0.v20090520-1800.jar,10,true + </param> + <param> + org.wso2.carbon.bridge,1.0.0,file:plugins/org.wso2.carbon.servletbridge.extensionbundle_1.0.0.jar,10,false + </param> </frameworkBundles> <bundlesDirectories> <param> Modified: trunk/wsas/java/modules/distribution/src/assembly/bin.xml URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/distribution/src/assembly/bin.xml?rev=37810&r1=37809&r2=37810&view=diff ============================================================================== --- trunk/wsas/java/modules/distribution/src/assembly/bin.xml (original) +++ trunk/wsas/java/modules/distribution/src/assembly/bin.xml Thu Jun 4 12:01:59 2009 @@ -81,6 +81,8 @@ <includes> <include>bouncycastle:bcprov-jdk15:jar</include> <!--<include>bouncycastle:bcprov-jdk16:jar</include>--> + <include>org.apache.derby.wso2:derby:jar</include> + <include>org.hibernate:hibernate:jar</include> </includes> </dependencySet> </dependencySets> Modified: trunk/wsas/java/modules/distribution/src/assembly/dist.xml URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/distribution/src/assembly/dist.xml?rev=37810&r1=37809&r2=37810&view=diff ============================================================================== --- trunk/wsas/java/modules/distribution/src/assembly/dist.xml (original) +++ trunk/wsas/java/modules/distribution/src/assembly/dist.xml Thu Jun 4 12:01:59 2009 @@ -99,7 +99,8 @@ </dependencySet> <dependencySet> - <outputDirectory>wso2wsas-${pom.version}/webapps/ROOT/WEB-INF/plugins/common</outputDirectory> + <outputDirectory>wso2wsas-${pom.version}/webapps/ROOT/WEB-INF/plugins/common + </outputDirectory> <includes> <include>org.wso2.carbon:org.wso2.carbon.security.policy:jar</include> <include>org.wso2.carbon:org.wso2.carbon.security.rampart:jar</include> @@ -115,7 +116,7 @@ <include>org.hibernate.wso2:hibernate:jar</include> <include>org.apache.abdera.wso2:abdera:jar</include> <include>org.wso2.carbon:org.wso2.carbon.tryit.common:jar</include> - <include>org.wso2.carbon:org.wso2.carbon.registry.common:jar</include> + <include>org.wso2.carbon:org.wso2.carbon.registry.common:jar</include> </includes> </dependencySet> </dependencySets> Modified: trunk/wsas/java/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/pom.xml?rev=37810&r1=37809&r2=37810&view=diff ============================================================================== --- trunk/wsas/java/pom.xml (original) +++ trunk/wsas/java/pom.xml Thu Jun 4 12:01:59 2009 @@ -27,6 +27,22 @@ <dependencyManagement> <dependencies> <dependency> + <groupId>org.apache.derby.wso2</groupId> + <artifactId>derby</artifactId> + <version>10.3.2.1wso2v1</version> + </dependency> + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate</artifactId> + <version>3.1.3</version> + <exclusions> + <exclusion> + <groupId>javax.transaction</groupId> + <artifactId>jta</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.wso2.carbon</groupId> <artifactId>org.wso2.carbon.core</artifactId> <version>${carbon.version}</version> _______________________________________________ Wsas-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev
