You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2003/11/24 23:59:43 UTC

cvs commit: jakarta-commons-sandbox/scaffold/xdocs downloads.xml index.xml navigation.xml

dirkv       2003/11/24 14:59:43

  Modified:    scaffold .cvsignore
  Added:       scaffold LICENSE.txt checkstyle.xml project.properties
                        project.xml
               scaffold/xdocs downloads.xml index.xml navigation.xml
  Log:
  mavenize scaffold
  
  Revision  Changes    Path
  1.2       +7 -0      jakarta-commons-sandbox/scaffold/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/scaffold/.cvsignore,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- .cvsignore	23 Nov 2002 02:12:02 -0000	1.1
  +++ .cvsignore	24 Nov 2003 22:59:43 -0000	1.2
  @@ -1,2 +1,9 @@
  +build.properties
   dist
  +.classpath
  +.project
  +.checkstyle
   target
  +maven.log
  +velocity.log
  +eclipse_classes
  
  
  
  1.1                  jakarta-commons-sandbox/scaffold/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  /*
   * $Source: /home/cvs/jakarta-commons-sandbox/scaffold/LICENSE.txt,v $
   * $Revision: 1.1 $
   * $Date: 2003/11/24 22:59:43 $
   *
   * ====================================================================
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2003 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 acknowledgement:
   *       "This product includes software developed by the
   *        Apache Software Foundation - http://www.apache.org/"
   *    Alternately, this acknowledgement may appear in the software itself,
   *    if and wherever such third-party acknowledgements normally appear.
   *
   * 4. The names "The Jakarta Project", "Commons", and "Apache Software
   *    Foundation" 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"
   *    nor may "Apache" appear in their names 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                  jakarta-commons-sandbox/scaffold/checkstyle.xml
  
  Index: checkstyle.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE module PUBLIC
      "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
      "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
  
  <!--
    Checkstyle checks configured for Maven.
  -->
  
  <module name="Checker">
  
      <!-- Checks that a package.html file exists for each package.     -->
      <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
      <module name="PackageHtml"/>
  
      <!-- Checks whether files end with a new line.                        -->
      <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
      <module name="NewlineAtEndOfFile"/>
  
      <!-- Checks that property files contain the same keys.         -->
      <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
      <module name="Translation"/>
  
      <module name="TreeWalker">
  
          <property name="cacheFile" value="${checkstyle.cache.file}"/>
  
          <!-- ************************************************************** -->
          <!-- Checks that are different from the sun coding conventions ones -->
          <!-- ************************************************************** -->
          <module name="Header">
              <property name="headerFile" value="${basedir}/LICENSE.txt"/>
              <property name="ignoreLines" value="2,3,4,10"/>
          </module>
          <property name="tabWidth" value="4"/>
          <module name="LeftCurly">
            <property name="option" value="eol"/>
          </module>
          <module name="RightCurly">
            <property name="option" value="alone"/>
          </module>
          <module name="LineLength">
            <property name="max" value="132"/>
          </module>
          <module name="MethodLength">
            <property name="max" value="175"/>
          </module>
          <!-- No Paren pad check
          <module name="ParenPad"/>
          -->
          <module name="ConstantName">
            <property name="format" value="log|^[a-zA-Z][a-zA-Z0-9_]*$"/>
          </module>
          
          <!-- ************************************************************** -->
          <!-- Default Sun coding conventions checks                          -->
          <!-- ************************************************************** -->
  
          <!-- Checks for Javadoc comments.                     -->
          <!-- See http://checkstyle.sf.net/config_javadoc.html -->
          <module name="JavadocMethod"/>
          <module name="JavadocType"/>
          <module name="JavadocVariable"/>
  
  
          <!-- Checks for Naming Conventions.                  -->
          <!-- See http://checkstyle.sf.net/config_naming.html -->
          <module name="LocalFinalVariableName"/>
          <module name="LocalVariableName"/>
          <module name="MethodName"/>
          <module name="PackageName"/>
          <module name="ParameterName"/>
          <module name="StaticVariableName"/>
          <module name="TypeName"/>
          <module name="MemberName"/>
  
          <!-- Checks for imports                              -->
          <!-- See http://checkstyle.sf.net/config_import.html -->
          <module name="AvoidStarImport"/>
          <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
          <module name="RedundantImport"/>
          <module name="UnusedImports"/>
  
  
          <!-- Checks for Size Violations.                    -->
          <!-- See http://checkstyle.sf.net/config_sizes.html -->
          <module name="FileLength"/>
          <module name="ParameterNumber"/>
  
  
          <!-- Checks for whitespace                               -->
          <!-- See http://checkstyle.sf.net/config_whitespace.html -->
          <module name="EmptyForIteratorPad"/>
          <module name="NoWhitespaceAfter"/>
          <module name="NoWhitespaceBefore"/>
          <module name="OperatorWrap"/>
          <module name="TabCharacter"/>
          <module name="WhitespaceAfter"/>
          <module name="WhitespaceAround"/>
  
  
          <!-- Modifier Checks                                    -->
          <!-- See http://checkstyle.sf.net/config_modifiers.html -->
          <module name="ModifierOrder"/>
          <module name="RedundantModifier"/>
  
  
          <!-- Checks for blocks. You know, those {}'s         -->
          <!-- See http://checkstyle.sf.net/config_blocks.html -->
          <module name="AvoidNestedBlocks"/>
          <module name="EmptyBlock"/>
          
          <module name="NeedBraces"/>
  
  
          <!-- Checks for common coding problems               -->
          <!-- See http://checkstyle.sf.net/config_coding.html -->
          <module name="AvoidInlineConditionals"/>
          <module name="DoubleCheckedLocking"/>
          <module name="EmptyStatement"/>
          <module name="EqualsHashCode"/>
          <module name="HiddenField"/>
          <module name="IllegalInstantiation"/>
          <module name="InnerAssignment"/>
          <module name="MagicNumber"/>
          <module name="MissingSwitchDefault"/>
          <module name="RedundantThrows">
              <property name="allowUnchecked" value="true"/>   <!-- DISABLED -->
              <property name="allowSubclasses" value="true"/>   <!-- DISABLED -->
          </module>
          <module name="SimplifyBooleanExpression"/>
          <module name="SimplifyBooleanReturn"/>
  
          <!-- Checks for class design                         -->
          <!-- See http://checkstyle.sf.net/config_design.html -->
          <module name="DesignForExtension">
              <property name="severity" value="ignore"/>   <!-- DISABLED -->
          </module>
          <module name="FinalClass"/>
          <module name="HideUtilityClassConstructor"/>
          <module name="InterfaceIsType"/>
          <module name="VisibilityModifier"/>
  
  
          <!-- Miscellaneous other checks.                   -->
          <!-- See http://checkstyle.sf.net/config_misc.html -->
          <module name="ArrayTypeStyle"/>
          <module name="FinalParameters">
              <property name="severity" value="ignore"/>   <!-- DISABLED -->
          </module>
          <module name="GenericIllegalRegexp">
              <property name="format" value="\s+$"/>
              <property name="message" value="Line has trailing spaces."/>
          </module>
          <module name="TodoComment"/>
          <module name="UpperEll"/>
  
      </module>
  
  </module>
  
  
  
  1.1                  jakarta-commons-sandbox/scaffold/project.properties
  
  Index: project.properties
  ===================================================================
  maven.checkstyle.properties = checkstyle.xml
  
  # uncomment the next line to work in offline mode (no jar download & no linkcheck)
  #maven.mode.online=
  
  maven.javadoc.author=false
  maven.javadoc.links=http://java.sun.com/products/jdk/1.4/docs/api
  
  maven.xdoc.date=bottom
  maven.xdoc.version=${pom.currentVersion}
  maven.xdoc.developmentProcessUrl=http://jakarta.apache.org/commons/charter.html
  
  maven.compile.debug=on
  maven.compile.deprecation=off
  maven.compile.optimize=off
  
  maven.jarResources.basedir=src/java
  maven.jar.excludes=**/package.html
  maven.junit.fork=true
  maven.junit.sysproperties=org.xml.sax.driver
  org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
  
  clover.excludes=**/Test*.java
  
  
  
  1.1                  jakarta-commons-sandbox/scaffold/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0"?>
  <project>
    <extend>../../jakarta-commons/xdocs/maven/project-base.xml</extend>
    <name>Commons Scaffold</name>
    <id>commons-scaffold</id>
    <logo>/images/scaffold-logo-blue.jpg</logo>
    <url>http://jakarta.apache.org/commons/scaffold/</url>
    <inceptionYear>2002</inceptionYear>
    <shortDescription>Commons Scaffold</shortDescription>
    <description>Commons Scaffold</description>
  
    <currentVersion>0.1-dev</currentVersion>
    <versions>
    </versions>
    <branches>
    </branches>
  
    <developers>
      <developer>
        <name>Ted Husted</name>
        <id>husted</id>
        <email></email>
        <organization></organization>
      </developer>
    </developers>
    
    <dependencies>
      <dependency>
        <id>servletapi</id>
        <version>2.3</version>
      </dependency>
      <dependency>
        <id>struts</id>
        <version>1.1</version>
      </dependency>
      <dependency>
        <id>commons-beanutils</id>
        <version>1.6</version>
      </dependency>
      <dependency>
        <id>lucene</id>
        <version>1.2</version>
      </dependency>
      <dependency>
        <groupId>mockobjects</groupId>
        <artifactId>mockobjects-jdk1.4-j2ee1.3</artifactId>
        <version>0.09</version>
      </dependency>
      <dependency>
        <groupId>mockobjects</groupId>
        <artifactId>mockobjects-core</artifactId>
        <version>0.09</version>
      </dependency>
      <dependency>
        <id>poolman</id>
        <version>2.0.4</version>
      </dependency>
  
  
      <dependency>
        <id>junit</id>
        <version>3.8.1</version>
      </dependency>
      <!-- these two are required by maven -->
      <dependency><id>xml-apis</id><version>2.0.2</version></dependency>
      <dependency><id>xerces</id><version>2.0.2</version></dependency>
      <!-- /these two are required by maven -->
    </dependencies>
  
  <!--
    <build>
      <unitTest>
        <includes>
          <include>org/apache/commons/scaffold/TestAll.java</include>
        </includes>
      </unitTest>
    </build>
  -->
  </project>
  
  
  
  1.1                  jakarta-commons-sandbox/scaffold/xdocs/downloads.xml
  
  Index: downloads.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
     <properties>
        <title>Downloads</title>
        <author email="commons-dev@jakarta.apache.org">Commons Documentation Team</author>
        <revision>$Id: downloads.xml,v 1.1 2003/11/24 22:59:43 dirkv Exp $</revision>
     </properties>
  
     <body>
        <section name="Releases">
           <p>There are no releases available.</p>
  
  <!--
           <p>The following releases are available:</p>
           <ul>
             <li>Version 1.1 - 20 October 2003</li>
             <li>Version 1.0 - 12 August 2002</li>
           </ul>
           <br/>
           <p>
              The latest binary release is always available on the 
              <a href="http://jakarta.apache.org/site/binindex.cgi#commons-scaffold">
              Jakarta Binary Downloads page</a>,
              its source is available from 
              <a href="http://jakarta.apache.org/site/sourceindex.cgi#commons-scaffold">
              Jakarta Source Downloads page</a>.
           </p>
           <p>
              Older releases are retained by the Apache Software Foundation but are 
              moved into a
              <a href="http://archive.apache.org/dist/jakarta/commons/scaffold/">
              special archive area</a>.
           </p>
           <p>
             <a href="http://cvs.apache.org/builds/jakarta-commons/nightly/commons-scaffold/">
             Nightly source and binary drops</a> are also available.
           </p>
  -->
           <p>
              Access to the source tree to see the latest and greatest code is possible
              through <a href="cvs-usage.html">anonymous CVS access</a>.
           </p>
        </section>
  
  <!--
        <section name="Release Candidate">
           <p>
              Release candidates for the upcoming 1.1 release can be downloaded 
              <a href="http://cvs.apache.org/~dirkv/builds/">here</a>.
           </p>
           <p>
              Please review and report any problem on the 
              <a href="mail-lists.html">mailing list</a>.
           </p>
           <p>
              Final release target is 20 October 2003. 
           </p>
        </section>
  -->
     </body>
  </document>
  
  
  
  1.1                  jakarta-commons-sandbox/scaffold/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
  
   <properties>
    <title>Overview</title>
    <author email="commons-dev@jakarta.apache.org">Commons Documentation Team</author>
   </properties>
  
   <body>
  
  <section name="The Scaffold Component">
  <p>Scaffold is a toolkit for building web applications.</p><p>Web application 
  frameworks, like Struts, provide the essential infrastructure most 
  developers need to create applications. But there are still many 
  reusable pieces that most applications need but frameworks don't 
  typically provide. Scaffold is a home for classes that can be reused 
  between applications but are not sexy enough (or sometimes too sexy) 
  for a framework distribution. 
  </p><p>
  The bulk of Scaffold is being provided through the Commons. A Struts 
  specific package is provided in the Struts source code distribution 
  which builds on the classes provided here.
  </p>
  
  <br/><br/><br/>
  </section>
  
  <section name="Releases">
      <p>
         See the <a href="downloads.html">downloads</a> page for information on obtaining releases.
      </p>
  <br/><br/><br/>
  </section>
  
  <section name="Documentation">
    <p>
       The <a href="apidocs/index.html">JavaDoc API documents</a> are available online.
    </p>
  </section>
  
  </body>
  </document>
  
  
  
  1.1                  jakarta-commons-sandbox/scaffold/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <!DOCTYPE org.apache.commons.menus SYSTEM '../../../jakarta-commons/xdocs/stylesheets/menus/org-apache-commons-menus.dtd'>
  <project name="Commons Scaffold">
      <title>Commons Scaffold</title>
      <body>
          &top-menus;
          <menu name="Commons&#xA0;Scaffold">
              <item name="Overview"                      href="/index.html" />
  <!--            <item name="Configuration"                 href="/configuration.html" /> -->
              <item name="API&#xA0;Documentation"        href="/apidocs/index.html"/>
  <!--
              <item name="Developers&#xA0;Guide"         href="/guide/index.html" collapse="true">
                  <item name="Class&#xA0;Diagrams"       href="/guide/classdiagrams.html"/>
                  <item name="Sequence&#xA0;Diagrams"    href="/guide/sequencediagrams.html"/>
              </item>
              <item name="Examples"                      href="http://cvs.apache.org/viewcvs/jakarta-commons/scaffold/doc/"/>
  -->
              <item name="Downloads"                     href="/downloads.html"/>
          </menu>
          &bottom-menus;
      </body>
  </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org