ammulder    2005/07/07 17:37:08

  Added:       modules/pkgen-builder .cvsignore maven.xml
                        project.properties project.xml
  Log:

  Add option to configure PK generation via direct schema elements instead
    of only using references to GBeans.
  The old style configuration is still supported, though the syntax is
    different (if you want to use a GBean reference, put it in a
    key-generator/custom-generator element)
  There's also a placeholder commented out of the XML Schema for key
    generation using IDs inserted directly into the target table by the
    database (using AUTO_INCREMENT columns or triggers) though that
    requires additional features from TranQL before it works.
  
  Revision  Changes    Path
  1.1                  openejb/modules/pkgen-builder/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  target
  openejb-pkgen-builder.iml
  
  
  
  1.1                  openejb/modules/pkgen-builder/maven.xml
  
  Index: maven.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!-- ================================================================
   Redistribution and use of this software and associated documentation
   ("Software"), with or without modification, are permitted provided
   that the following conditions are met:
  
   1. Redistributions of source code must retain copyright
      statements and notices.  Redistributions must also contain a
      copy of this document.
  
   2. Redistributions in binary form must reproduce this list of
      conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
  
   3. The name "OpenEJB" must not be used to endorse or promote
      products derived from this Software without prior written
      permission of The OpenEJB Group.  For written permission,
      please contact [EMAIL PROTECTED]
  
   4. Products derived from this Software may not be called "OpenEJB"
      nor may "OpenEJB" appear in their names without prior written
      permission of The OpenEJB Group. OpenEJB is a registered
      trademark of The OpenEJB Group.
  
   5. Due credit should be given to the OpenEJB Project
      (http://openejb.org/).
  
   THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
   ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
   NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
   THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   OF THE POSSIBILITY OF SUCH DAMAGE.
  
   ====================================================================
  
   This software consists of voluntary contributions made by many
   individuals on behalf of the OpenEJB Project.  For more information
   please see <http://openejb.org/>.
  
   ================================================================ -->
  
  <project default="default"
      xmlns:j="jelly:core"
      xmlns:ant="jelly:ant"
      xmlns:maven="jelly:maven"
      xmlns:xmlbeans="geronimo:xmlbeans">
  
      <preGoal name="xdoc:jelly-transform">
          <attainGoal name="html2xdoc"/>
      </preGoal>
  
      <preGoal name="java:compile">
          <xmlbeans:schema2java
              sourcedir="${basedir}/src"
              sourceschema="schema/openejb-pkgen.xsd"
              xmlconfigs="${basedir}/src/schema/xmlconfig.xml"
              targetdir="${basedir}/target/xmlbeans"
              
cataloglocation="${basedir}/../j2ee-schema/src/catalog/resolver-catalog.xml"/>
      </preGoal>
  
  </project>
  
  
  
  1.1                  openejb/modules/pkgen-builder/project.properties
  
  Index: project.properties
  ===================================================================
  ##
  ## $Revision: 1.1 $ $Date: 2005/07/07 21:37:08 $
  ##
  
  maven.junit.jvmargs=-Dlog4j.configuration=file:log4j.properties -ea
  maven.junit.fork=true
  # Include the generated xmlbean classes in the eclipse classpath
  maven.eclipse.classpath.include=target/xmlbeans
  
  maven.idea.generated.source=xmlbeans
  
  
  
  1.1                  openejb/modules/pkgen-builder/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!-- ================================================================
   Redistribution and use of this software and associated documentation
   ("Software"), with or without modification, are permitted provided
   that the following conditions are met:
  
   1. Redistributions of source code must retain copyright
      statements and notices.  Redistributions must also contain a
      copy of this document.
  
   2. Redistributions in binary form must reproduce this list of
      conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
  
   3. The name "OpenEJB" must not be used to endorse or promote
      products derived from this Software without prior written
      permission of The OpenEJB Group.  For written permission,
      please contact [EMAIL PROTECTED]
  
   4. Products derived from this Software may not be called "OpenEJB"
      nor may "OpenEJB" appear in their names without prior written
      permission of The OpenEJB Group. OpenEJB is a registered
      trademark of The OpenEJB Group.
  
   5. Due credit should be given to the OpenEJB Project
      (http://openejb.org/).
  
   THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
   ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
   NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
   THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   OF THE POSSIBILITY OF SUCH DAMAGE.
  
   ====================================================================
  
   This software consists of voluntary contributions made by many
   individuals on behalf of the OpenEJB Project.  For more information
   please see <http://openejb.org/>.
  
   ================================================================ -->
  
  <project>
      <pomVersion>3</pomVersion>
      <extend>../../etc/project.xml</extend>
  
      <!-- ===================== -->
      <!-- Module Identification -->
      <!-- ===================== -->
  
      <name>OpenEJB :: PK Generation :: Builder</name>
      <groupId>openejb</groupId>
      <id>openejb-pkgen-builder</id>
      <shortDescription>OpenEJB PK Generation Builder</shortDescription>
      <description>OpenEJB PK Generation Builder</description>
      <package>org.openejb.deployment.pkgen</package>
  
      <!-- ============ -->
      <!-- Dependencies -->
      <!-- ============ -->
  
      <dependencies>
          <dependency>
              <groupId>geronimo</groupId>
              <artifactId>geronimo-xmlbeans-plugin</artifactId>
              <version>${geronimo_version}</version>
              <type>plugin</type>
          </dependency>
  
          <!-- needed for xmlbeans runtime-->
          <dependency>
              <groupId>xmlbeans</groupId>
              <artifactId>xbean-apache</artifactId>
              <version>${xmlbeans_version}</version>
          </dependency>
  
          <dependency>
               <groupId>tranql</groupId>
               <artifactId>tranql</artifactId>
               <version>${tranql_version}</version>
         </dependency>
  
          <dependency>
               <groupId>openejb</groupId>
               <artifactId>openejb-core</artifactId>
               <version>${pom.currentVersion}</version>
         </dependency>
  
          <dependency>
               <groupId>geronimo</groupId>
               <artifactId>geronimo-deployment</artifactId>
               <version>${geronimo_version}</version>
         </dependency>
  
          <dependency>
               <groupId>geronimo</groupId>
               <artifactId>geronimo-common</artifactId>
               <version>${geronimo_version}</version>
           </dependency>
  
          <dependency>
              <groupId>geronimo</groupId>
              <artifactId>geronimo-j2ee</artifactId>
              <version>${geronimo_version}</version>
          </dependency>
  
          <dependency>
              <groupId>geronimo</groupId>
              <artifactId>geronimo-j2ee-builder</artifactId>
              <version>${geronimo_version}</version>
          </dependency>
  
          <dependency>
              <groupId>geronimo</groupId>
              <artifactId>geronimo-kernel</artifactId>
              <version>${geronimo_version}</version>
          </dependency>
  
          <dependency>
              <groupId>mx4j</groupId>
              <artifactId>mx4j</artifactId>
              <version>${mx4j_version}</version>
          </dependency>
  
      </dependencies>
  
  
      <!-- =================== -->
      <!-- Build Specification -->
      <!-- =================== -->
  
      <build>
          <unitTest>
              <includes>
                  <include>**/*Test.java</include>
              </includes>
              <excludes>
                  <exclude>**/Abstract*.java</exclude>
              </excludes>
          </unitTest>
      </build>
  </project>
  
  
  

Reply via email to