[seam-commits] Seam SVN: r10164 - trunk/seam-gen/build-scripts.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Mar 14 03:33:49 EDT 2009


Author: dan.j.allen
Date: 2009-03-14 03:33:49 -0400 (Sat, 14 Mar 2009)
New Revision: 10164

Modified:
   trunk/seam-gen/build-scripts/glassfish-readme.txt
Log:
add note about how to disable deployment of datasource on GlassFish when using default datasource


Modified: trunk/seam-gen/build-scripts/glassfish-readme.txt
===================================================================
--- trunk/seam-gen/build-scripts/glassfish-readme.txt	2009-03-14 07:33:00 UTC (rev 10163)
+++ trunk/seam-gen/build-scripts/glassfish-readme.txt	2009-03-14 07:33:49 UTC (rev 10164)
@@ -1,9 +1,13 @@
 GlassFish deployment works out of the box for WAR projects. To deploy an EAR project, make the following changes:
 
-1. Uncomment the <ejb-local-ref> entries in resources/WEB-INF/web.xml (include additional entries as necessary)
-2. Strip the contents up to and including the # in the element <persistence-unit-name> in resources/WEB-INF/web.xml
-3. Uncomment the <jar-file> element in resources/META-INF/persistence-dev.xml & resources/META-INF/persistence-prod.xml
+  1. Uncomment the <ejb-local-ref> entries in resources/WEB-INF/web.xml (include additional entries as necessary)
+  2. Strip the contents up to and including the # in the element <persistence-unit-name> in resources/WEB-INF/web.xml
+  3. Uncomment the <jar-file> element in resources/META-INF/persistence-dev.xml & resources/META-INF/persistence-prod.xml
 
+If you plan to use the default Derby datasource in GlassFish, named jdbc/__default, then uncomment the following property in the build.properties file at the root of the project:
+
+  glassfish.datasource.useDefault=true
+
 GlassFish command reference:
 
 gf-start - Starts GlassFish




More information about the seam-commits mailing list