db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator project.xml default.properties LICENSE.txt maven.xml project.properties
Date Mon, 10 Feb 2003 13:17:41 GMT
mpoeschl    2003/02/10 05:17:41

  Added:       src/generator project.xml default.properties LICENSE.txt
                        maven.xml project.properties
  Log:
  project files for separated generator
  
  Revision  Changes    Path
  1.1                  db-torque/src/generator/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <project>
    <pomVersion>3</pomVersion>
    <id>torque-gen</id>
    <name>Torque generator</name>
    <currentVersion>3.1-dev</currentVersion>
    <organization>
      <name>Apache Software Foundation</name>
      <url>http://db.apache.org/</url>
      <logo>/images/db-logo-blue.png</logo>
    </organization>
    <inceptionYear>2000</inceptionYear>
    <package>org.apache.torque</package>
    <logo>/images/blue-logo.gif</logo>
  
    <!-- Gump integration -->
    <gumpRepositoryId>jakarta</gumpRepositoryId>
  
    <description>Torque is a persistence layer.</description>
    <shortDescription>Persistence Layer</shortDescription>
    <url>http://db.apache.org/torque/</url>
    <issueTrackingUrl>http://scarab.werken.com/scarab/issues</issueTrackingUrl>
    <siteAddress>db.apache.org</siteAddress>
    <siteDirectory>/www/db.apache.org/torque/</siteDirectory>
    <distributionDirectory>/www/db.apache.org/builds/db-torque/</distributionDirectory>
  
    <repository>
      <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:db-torque</connection>
      <url>http://cvs.apache.org/viewcvs/db-torque/</url>
    </repository>
  
    <mailingLists>
      <mailingList>
        <name>Torque User List</name>
        <subscribe>torque-user-subscribe@db.apache.org</subscribe>
        <unsubscribe>torque-user-unsubscribe@db.apache.org</unsubscribe>
        <archive>http://archives.apache.org/eyebrowse/SummarizeList?listName=torque-user@db.apache.org</archive>
      </mailingList>
      <mailingList>
        <name>Torque Developer List</name>
        <subscribe>torque-dev-subscribe@db.apache.org</subscribe>
        <unsubscribe>torque-dev-unsubscribe@db.apache.org</unsubscribe>
        <archive>http://archives.apache.org/eyebrowse/SummarizeList?listName=torque-dev@db.apache.org</archive>
      </mailingList>
    </mailingLists>
  
    <developers>
      <developer>
        <name>Jeffrey D. Brekke</name>
        <id>brekke</id>
        <email>brekke@apache.org</email>
        <organization/>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Eric Dobbs</name>
        <id>dobbs</id>
        <email>dobbs@apache.org</email>
        <organization/>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Scott Eade</name>
        <id>seade</id>
        <email>seade@backstagetech.com.au</email>
        <organization>Backstage Technologies Pty. Ltd.</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Stephen Haberman</name>
        <id>stephenh</id>
        <email>stephenh@chase3000.com</email>
        <organization/>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Humberto Hernandez</name>
        <id>hhernandez</id>
        <email>hhernandez@itweb.com.mx</email>
        <organization>Integrated Technology S.C.</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Fedor Karpelevitch</name>
        <id>fedor</id>
        <email>fedor@karpelevitch.net</email>
        <organization/>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Quinton McCombs</name>
        <id>quintonm</id>
        <email>quintonm@bellsouth.net</email>
        <organization>NEqualsOne</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>John McNally</name>
        <id>jmcnally</id>
        <email>jmcnally@collab.net</email>
        <organization>CollabNet</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Martin Poeschl</name>
        <id>mpoeschl</id>
        <email>mpoeschl@marmot.at</email>
        <organization>Tucana.at</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Daniel Rall</name>
        <id>dlr</id>
        <email>dlr@finemaltcoding.com</email>
        <organization>CollabNet, Inc.</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Henning P. Schmiedehausen</name>
        <id>henning</id>
        <email>hps@intermeta.de</email>
        <organization>INTERMETA - Gesellschaft fuer Mehrwertdienste mbH</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Kurt Schrader</name>
        <id>kschrader</id>
        <email>kschrader@karmalab.org</email>
        <organization/>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>Jon Scott Stevens</name>
        <id>jon</id>
        <email>jon@latchkey.com</email>
        <organization>CollabNet, Inc.</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
      <developer>
        <name>James Taylor</name>
        <id>jtaylor</id>
        <email>james@jamestaylor.org</email>
        <organization/>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
  
    </developers>
  
    <contributors>
      <contributor>
        <name>James Hillyerd</name>
        <email>james@hillyerd.com</email>
      </contributor>
  
      <contributor>
        <name>J. Russell Smyth</name>
        <email>drfish@cox.net</email>
      </contributor>
    </contributors>
  
    <dependencies>
      <dependency>
        <id>ant</id>
        <version>1.5.1</version>
        <url>http://jakarta.apache.org/ant/</url>
      </dependency>
      <dependency>
        <id>commons-beanutils</id>
        <version>1.5</version>
        <url>http://jakarta.apache.org/commons/beanutils.html</url>
      </dependency>
      <dependency>
        <id>commons-collections</id>
        <version>2.1</version>
        <url>http://jakarta.apache.org/commons/collections.html</url>
      </dependency>
      <dependency>
        <id>commons-configuration</id>
        <version>SNAPSHOT</version>
        <url>http://jakarta.apache.org/commons/</url>
      </dependency>
      <dependency>
        <id>commons-dbcp</id>
        <version>SNAPSHOT</version>
        <url>http://jakarta.apache.org/commons/</url>
      </dependency>
      <dependency>
        <id>commons-lang</id>
        <version>1.0.1</version>
        <url>http://jakarta.apache.org/commons/</url>
      </dependency>
      <dependency>
        <id>commons-logging</id>
        <version>1.0.2</version>
        <url>http://jakarta.apache.org/commons/</url>
      </dependency>
      <dependency>
        <id>commons-pool</id>
        <version>1.0</version>
        <url>http://jakarta.apache.org/commons/pool/</url>
      </dependency>
      <dependency>
        <id>jcs</id>
        <version>1.0-dev</version>
        <url>http://jakarta.apache.org/turbine/jcs/</url>
      </dependency>
      <dependency>
        <id>jdbc</id>
        <version>2.0</version>
        <url>http://java.sun.com/products/jdbc/download.html#spec</url>
      </dependency>
      <dependency>
        <id>jndi</id>
        <version>1.2.1</version>
        <url>http://java.sun.com/products/jndi/</url>
      </dependency>
      <dependency>
        <id>log4j</id>
        <version>1.2.7</version>
        <url>http://jakarta.apache.org/log4j/</url>
      </dependency>
      <dependency>
        <id>velocity</id>
        <version>1.3</version>
        <url>http://jakarta.apache.org/velocity/</url>
      </dependency>
      <dependency>
        <id>village</id>
        <version>2.0-dev-20021111</version>
        <url>http://share.whichever.com/index.php?SCREEN=village</url>
      </dependency>
      <dependency>
        <id>xerces:xercesImpl</id>
        <version>2.0.2</version>
        <url>http://xml.apache.org/xerces2-j/</url>
      </dependency>
      <dependency>
        <id>xerces:xmlParserAPIs</id>
        <version>2.0.2</version>
        <url>http://xml.apache.org/xerces2-j/</url>
      </dependency>
      <dependency>
        <id>junit</id>
        <version>3.8.1</version>
        <url>http://www.junit.org</url>
      </dependency>
    </dependencies>
  
    <build>
      <nagEmailAddress>turbine-torque-dev@jakarta.apache.org</nagEmailAddress>
      <sourceDirectory>src/java</sourceDirectory>
      <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
      <aspectSourceDirectory></aspectSourceDirectory>
  
      <unitTest>
        <includes>
          <include>**/*Test*.java</include>
        </includes>
        <excludes>
          <exclude>**/BaseTestCase.java</exclude>
        </excludes>
      </unitTest>
  
      <resources></resources>
      <jars></jars>
    </build>
  </project>
  
  
  
  1.1                  db-torque/src/generator/default.properties
  
  Index: default.properties
  ===================================================================
  # -------------------------------------------------------------------
  # B U I L D  P R O P E R T I E S
  # -------------------------------------------------------------------
  # These properties are used by the Torque build, you may override
  # any of these default values by placing property values in
  # your ${user.home}/build.properties file.
  # -------------------------------------------------------------------
  
  name = Torque
  project = torque
  version = 3.1-dev
  package = org.apache.${project}
  final.name = ${project}-${version}
  torque.jar = ${final.name}.jar
  
  build.dir = ./target
  build.dest = ${build.dir}/classes
  build.test = ${build.dir}/test
  src.dir = ./src
  test.dir = ${src.dir}/rttest
  test.libDir = ${build.test}/rttest/lib
  test.templateDir = ${build.test}/rttest/templates
  rttest.dir = ${src.dir}/rttest
  
  # -------------------------------------------------------------------
  # Standard Torque build file references used
  # for testing.
  # -------------------------------------------------------------------
  torque.distDir = ${build.test}/rttest
  torque.destDir = ${torque.distDir}/bin/classes
  torque.buildFileDir = ${torque.distDir}
  torque.buildFile = build-torque.xml
  torque.testSchema = src/rttest/bookstore-schema.xml
  lib.repo = ${maven.home}/repository
  
  docs.src = ./xdocs
  docs.dest = ./docs
  javadoc.destdir = ./docs/api
  jakarta.site2 = ../jakarta-site2
  
  year = 1999-2003
  debug = on
  optimize = off
  deprecation = off
  
  # You must set values for the JAR file properties listed here, or in
  # your ${user.home}/build.properties or local build.properties file in
  # order to build Torque:
  
  # WARNING!!!!!!!
  # if you make changes to these properties also make sure to
  # change the src/conf/build-torque.xml file!!!!!
  # also make sure to sync with the jars.list!!!!
  commons-beanutils.jar = ${lib.repo}/commons-beanutils/jars/commons-beanutils-1.5.jar
  commons-collections.jar = ${lib.repo}/commons-collections/jars/commons-collections-2.1.jar
  commons-configuration.jar = ${lib.repo}/commons-configuration/jars/commons-configuration-SNAPSHOT.jar
  commons-dbcp.jar = ${lib.repo}/commons-dbcp/jars/commons-dbcp-SNAPSHOT.jar
  commons-lang.jar = ${lib.repo}/commons-lang/jars/commons-lang-1.0.1.jar
  commons-logging.jar = ${lib.repo}/commons-logging/jars/commons-logging-1.0.2.jar
  commons-pool.jar = ${lib.repo}/commons-pool/jars/commons-pool-1.0.jar
  jcs.jar = ${lib.repo}/jcs/jars/jcs-1.0-dev.jar
  jdbc.jar = ${lib.repo}/jdbc/jars/jdbc-2.0.jar
  jndi.jar = ${lib.repo}/jndi/jars/jndi-1.2.1.jar
  junit.jar = ${lib.repo}/junit/jars/junit-3.8.1.jar
  log4j.jar = ${lib.repo}/log4j/jars/log4j-1.2.6.jar
  stratum.jar = ${lib.repo}/stratum/jars/stratum-1.0-b3.jar
  tomcat-naming.jar = ${lib.repo}/tomcat/jars/tomcat-naming-1.0.jar
  velocity.jar = ${lib.repo}/velocity/jars/velocity-1.3.jar
  village.jar = ${lib.repo}/village/jars/village-2.0-dev-20021111.jar
  xerces.jar = ${lib.repo}/xerces/jars/xercesImpl-2.0.2.jar
  xmlParserAPIs.jar = ${lib.repo}/xerces/jars/xmlParserAPIs-2.0.2.jar
  
  
  
  1.1                  db-torque/src/generator/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  
  
  /* ====================================================================
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2001 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution,
   *    if any, must include the following acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Apache" and "Apache Software Foundation" and
   *    "Apache Turbine" must not be used to endorse or promote products
   *    derived from this software without prior written permission. For
   *    written permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache",
   *    "Apache Turbine", nor may "Apache" appear in their name, without
   *    prior written permission of the Apache Software Foundation.
   *
   * THIS SOFTWARE IS PROVIDED ``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 APACHE SOFTWARE FOUNDATION 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 Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  
  
  
  1.1                  db-torque/src/generator/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project
    default="java:jar"
    xmlns:deploy="deploy">
  
    <!-- Allow any user specific values to override the defaults -->
    <property file="${user.home}/build.properties" />
    <!-- Allow user defaults for this project -->
    <property file="build.properties" />
    <!-- Set default values for the build -->
    <property file="default.properties" />
  
    <!-- ================================================================== -->
    <!-- C O M P I L E   P O S T   G O A L                                  -->
    <!-- ================================================================== -->
    <!-- copies the templates, dtd, .. to the ${maven.build.dest} to        -->
    <!-- include them in the jar file                                       -->
    <!-- ================================================================== -->
    <postGoal name="java:compile">
      <!-- copy database.dtd to the right place -->
      <copy
        file="${maven.src.dir}/dtd/database.dtd"
        todir="${maven.build.dest}/org/apache/torque/engine/database/transform"
      />
  
      <!-- copy default.properties to the right place -->
      <copy
        file="${maven.src.dir}/conf/default.properties"
        todir="${maven.build.dest}/org/apache/torque"
      />
  
      <!-- copy templates to the right place -->
      <copy todir="${maven.build.dest}">
        <fileset dir="${maven.src.dir}/templates" />
      </copy>
    </postGoal>
  
    <!-- ================================================================== -->
    <!-- D I S T : B U I L D _ B I N   P R E   G O A L                      -->
    <!-- ================================================================== -->
    <!-- copies jars, templates, ... to the ${maven.dist.bin.assembly.dir}  -->
    <!-- to include them in the binary dists                                -->
    <!-- ================================================================== -->
    <preGoal name="dist:build-bin">
      <!-- copy templates to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}/templates">
        <fileset dir="${maven.src.dir}/templates" />
      </copy>
  
      <!-- copy schema files to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}/schema">
        <fileset dir="${maven.src.dir}/schema" />
      </copy>
  
      <!-- copy master files to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}/master">
        <fileset dir="${maven.src.dir}/conf/master" />
      </copy>
  
      <!-- copy config files to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}">
        <fileset dir="${maven.src.dir}/conf" />
      </copy>
  
      <!-- include listed dependencies -->
      <deploy:copy-deps todir="${maven.dist.bin.assembly.dir}/lib"/>
  
      <!-- move torque.jar to /lib -->
      <move
        file="${maven.dist.bin.assembly.dir}/${maven.final.name}.jar"
        todir="${maven.dist.bin.assembly.dir}/lib"
      />
    </preGoal>
  
    <!-- ================================================================== -->
    <!-- D I S T : L I T E                                                  -->
    <!-- ================================================================== -->
    <!-- binary distribution without jars used by scarab                    -->
    <!-- ================================================================== -->
    <goal name="dist:lite"
          prereqs="java:jar"
          description="distribution without dependency jars">
  
      <!-- copy templates to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}/templates">
        <fileset dir="${maven.src.dir}/templates" />
      </copy>
  
      <!-- copy schema files to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}/schema">
        <fileset dir="${maven.src.dir}/schema" />
      </copy>
  
      <!-- copy master files to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}/master">
        <fileset dir="${maven.src.dir}/conf/master" />
      </copy>
  
      <!-- copy config files to the right place -->
      <copy todir="${maven.dist.bin.assembly.dir}">
        <fileset dir="${maven.src.dir}/conf" />
      </copy>
  
      <!-- Copy Jars -->
      <copy todir="${maven.dist.bin.assembly.dir}/lib">
        <fileset dir="${maven.build.dir}">
          <include name="${maven.final.name}.jar"/>
        </fileset>
      </copy>
  
      <!-- Create a zip file -->
      <zip zipfile="${maven.build.dir}/${maven.final.name}.zip">
        <zipfileset dir="${maven.dist.bin.assembly.dir}"/>
      </zip>
    </goal>
  
    <!-- ================================================================== -->
    <!-- R U N T I M E T E S T                                              -->
    <!-- ================================================================== -->
    <goal
      name="runtime:test"
      prereqs="runtime:prepare"
      description="runtime tests (set torque.testProfile in your build.properties)">
  
      <ant antfile="build-test.xml"
           target="test"
           inheritAll="false"/>
    </goal>
  
    <goal
      name="runtime:test-classpath"
      prereqs="runtime:prepare"
      description="runtime tests using useClasspath property (set torque.testProfile in your
build.properties)">
  
      <ant antfile="build-test.xml"
           target="test-classpath"
           inheritAll="false"/>
    </goal>
  
    <goal
      name="runtime:prepare"
      prereqs="java:jar">
  
      <!-- Set values in test profile -->
      <property file="${torque.testProfile}"/>
  
      <!-- Use the profile as the build.properties file
           in the dist directory so that it is customizable
           by each tester. -->
      <echo message="Copying profile into distribution directory: ${torque.testProfile}"/>
  
      <filter token="APPLICATION_ROOT" value="."/>
      <filter token="DATABASE" value="${torque.database}"/>
      <filter token="DATABASE_DEFAULT" value="${torque.defaultDatabase}"/>
      <filter token="DATABASE_URL" value="${torque.database.url}"/>
      <filter token="DATABASE_USER" value="${torque.database.user}"/>
      <filter token="DATABASE_DRIVER" value="${torque.database.driver}"/>
      <filter token="DATABASE_PASSWORD" value="${torque.database.password}"/>
      <filter token="DATABASE_ID_METHOD" value="${torque.idMethod}"/>
      <filter token="DATABASE_ADAPTER" value="${torque.database}"/>
  
      <copy
        tofile="${torque.distDir}/build.properties"
        file="${torque.testProfile}"
        overwrite="yes"
      />
  
      <!-- copy test schemas -->
      <copy
        todir="${torque.distDir}/schema"
        filtering="yes"
        overwrite="yes">
        <fileset dir="${rttest.dir}">
          <include name="**/*.xml"/>
        </fileset>
      </copy>
  
      <!-- copy test sources -->
      <copy todir="${torque.distDir}/src/java">
        <fileset dir="${rttest.dir}"/>
      </copy>
  
      <copy
        tofile="${build.test}/rttest/build-torque.xml"
        file="${src.dir}/conf/build-torque.xml"
        overwrite="yes"
      />
      <copy
        tofile="${build.test}/rttest/default.properties"
        file="${src.dir}/conf/default.properties"
        overwrite="yes"
      />
  
      <!-- copy libs -->
      <deploy:copy-deps todir="${build.test}/rttest/lib"/>
      <copy file="${maven.build.dir}/${maven.final.name}.jar"
            todir="${build.test}/rttest/lib"/>
      <copy file="${torque.testDatabaseJar}"
            todir="${build.test}/rttest/lib"/>
  
      <!-- copy templates -->
      <copy todir="${build.test}/rttest/templates">
        <fileset dir="${src.dir}/templates"/>
      </copy>
  
      <!-- copy Torque.properties -->
      <copy
        tofile="${build.test}/rttest/Torque.properties"
        file="src/conf/master/Torque.master"
        filtering="yes"
        overwrite="yes"
      />
  
    </goal>
  
  
  </project>
  
  
  
  1.1                  db-torque/src/generator/project.properties
  
  Index: project.properties
  ===================================================================
  # -------------------------------------------------------------------
  # B U I L D  P R O P E R T I E S
  # -------------------------------------------------------------------
  # These properties are used by the maven Torque build, you may override
  # any of these default values by placing property values in
  # your build.properties file.
  # -------------------------------------------------------------------
  
  maven.checkstyle.format = turbine
  
  # display the date on the site
  maven.xdoc.date = left
  # Display the version the web site is documenting
  maven.xdoc.version = ${pom.currentVersion}
  
  
  
  

Mime
View raw message