[jboss-cvs] jboss-seam/examples/glassfish ...

Michael Yuan michael.yuan at jboss.com
Thu Nov 30 00:02:02 EST 2006


  User: myuan   
  Date: 06/11/30 00:02:02

  Modified:    examples/glassfish    build.xml
  Added:       examples/glassfish    readme.txt
  Removed:     examples/glassfish    note.txt
  Log:
  use hibernate ga libs
  
  Revision  Changes    Path
  1.2       +4 -1      jboss-seam/examples/glassfish/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/glassfish/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- build.xml	29 Nov 2006 09:30:07 -0000	1.1
  +++ build.xml	30 Nov 2006 05:02:02 -0000	1.2
  @@ -11,6 +11,7 @@
     <property name="lib" location="../../lib" />
     <property name="applib" location="lib" />
     <property name="seamlib" location="../../" />
  +  <property name="hibernatelib" location="../../hibernate/lib" />
     <path id="lib.classpath">
       <fileset dir="${lib}" includes="*.jar"/>
       <fileset dir="${applib}" includes="*.jar"/>
  @@ -93,7 +94,6 @@
         appxml="${resources}/META-INF/application.xml">
         
         <fileset dir="${lib}">
  -        <include name="hibernate-all.jar" />
           <include name="thirdparty-all.jar" />
           <include name="commons-digester-*.jar" />
           <include name="commons-beanutils-*.jar" />
  @@ -104,6 +104,9 @@
           <include name="commons-lang-*.jar" />
           -->
         </fileset>
  +      <fileset dir="${hibernatelib}">
  +        <include name="hibernate*.jar" />
  +      </fileset>
         <fileset dir="${applib}">
           <include name="jboss-archive-browsing.jar" />
         </fileset>
  
  
  
  1.1      date: 2006/11/30 05:02:02;  author: myuan;  state: Exp;jboss-seam/examples/glassfish/readme.txt
  
  Index: readme.txt
  ===================================================================
  
  0. Build the demo app: ant clean; ant
     0a. The build target is "build/jboss-seam-glassfish.ear"
     0b. The "ant toplink" target builds the EAR file using toplink as the JPA provider. You will need to manually load the database. Not recommended.
  
  1. Download Glassfish
  
  2. Install it: java -Xmx256m -jar glassfish-installer-xxx.jar
  
  3. Setup glassfish: cd glassfish; ant setup;
  
  4. Start the Glassfish server: bin/asadmin start-domain domain1
  
  5. Start the embedded JavaDB: bin/asadmin start-database
  
  6. Load the admin console: http://localhost:4848/
  
  7. Login using username/password: admin / adminadmin
  
  8. Deploy the "enterprise application" in the admin console: The app is located at SEAM_HOME/examples/glassfish/build/jboss-seam-glassfish.ear
  
  9. Checout the app at: http://localhost:8080/jboss-seam-glassfish/
  
  10. Use the admin console to undeploy the app and stop server
  
  
  



More information about the jboss-cvs-commits mailing list