1 Reply Latest reply on Mar 20, 2009 7:05 PM by norman

    examples on different databases

      I would like to test booking example on different DBs. I found this post
      http://www.seamframework.org/Community/SeamExampleWithPostgres

      However I couldnt put postgre library (jar file) along with the ear file.. I am supposed to use the build.xml file I guess but I am not sure.

      Can anyone help me on that?
      Here's the build.xml file

      <project name="Booking" default="deploy" basedir=".">

          <!-- Naming -->
          <property name="Name"                   value="Seam on JBoss Booking Example"/>
          <property name="example.name"           value="jboss-seam-booking"/>
           
          <!-- Libraries to include -->
          <property name="seam.ui.lib"    value="yes"/>
          <property name="seam.debug.lib" value="yes"/>
          <property name="facelets.lib"   value="yes"/>
          <property name="richfaces.lib"   value="yes"/>
           
           <!-- Datasource -->
          <property name="example.ds"             value="jboss-seam-booking-ds.xml"/>
         
          <import file="../build.xml"/>
      </project>
        • 1. Re: examples on different databases
          norman

          If you needed the JAR file at compile time for some reason you can add it  build.classpath.extras, but I doubt that's necessary.  Just put the driver JAR in JBoss lib directory and you'll be good to go.