You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2003/10/27 17:53:40 UTC

cvs commit: jakarta-turbine-fulcrum/configuration LICENSE.txt project.xml project.properties

epugh       2003/10/27 08:53:40

  Added:       configuration/xdocs navigation.xml changes.xml index.xml
               configuration LICENSE.txt project.xml project.properties
  Log:
  add Configuration object backed by Commons Configuration that can be loaded up by
  Avalon.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-fulcrum/configuration/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project
    name="Configuration"
    href="http://jakarta.apache.org/turbine/fulcrum/configuration/">
  
    <body>
      <links>
        <item name="Commons Configuration"
              href="http://jakarta.apache.org/commons/sandbox/configuration/"/>
        <item name="Fulcrum"
              href="http://jakarta.apache.org/turbine/fulcrum/"/>
      </links>
  
      <menu name="Overview">
        <item name="Main"                 href="/index.html"/>
      </menu>
    </body>
  </project>
  
  
  1.1                  jakarta-turbine-fulcrum/configuration/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
    <properties>
      <title>Fulcrum Configuration</title>
      <author email="epugh@upstate.com">Eric Pugh</author>
    </properties>
  
    <body>
      <release version="1.0-alpha-1" date="">
        <action dev="epugh" type="add">
          Initial creation of project.
        </action>
      </release>
  
    </body>
  </document>
  
  
  
  
  1.1                  jakarta-turbine-fulcrum/configuration/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
  
    <properties>
      <title>Configuration Component</title>
      <author email="epugh@upstate.com">Eric Pugh</author>
    </properties>
  
    <body>
  
    <section name="Overview">
      <p>
        The configuration component allows an application to load up arbitrary configuration data
        that is backed by multiple datasources.
      </p>
      <p>
        It is backed by Commons Configuration for accessing data and implements the Configuration
        API.
      </p>
      <p>
        It is written for use in any container compatible 
        with Avalon's ECM container.
      </p>    
    </section>
    
  <section name="Configuration">
  
      <p>
        First, here is the role configuration.
      </p>
  
  <source>
  <![CDATA[
    <role
      name="org.apache.fulcrum.configuration.Config"
      shorthand="config"
      default-class="org.apache.fulcrum.configuration.DefaultConfigurationService"/>
  ]]>
  </source>
  
    <p>
      Now comes the basic configuration of the component.  Here will will
      configure the various encryption providers
    </p>
  <source>
  
  <![CDATA[
      <config configurationPath="src/test/configuration.xml"/>
  ]]>
  </source>
  
    </section>
    
  <section name="Usage">
  
  <p>
  The configurationPath is the location of the file read in by the ConfigurationFactory.
  This then returns your Configuration object.
  </p>
  
  <p>
  To see an example, look at the test case 
  <a href="xref-test/org/apache/fulcrum/configuration/ConfigTest.html">ConfigTest</a>.
  </p>
  
  </section>
  
  </body>
  </document>
  
  
  
  1.1                  jakarta-turbine-fulcrum/configuration/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  /* ----------------------------------------------------------------------------
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2000-2002 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 acknowlegement:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowlegement may appear in the software itself,
   *    if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Plexus", 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 Group.
   *
   * 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-turbine-fulcrum/configuration/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0"?>
  <project>
    <extend>${basedir}/../project.xml</extend>
    <id>fulcrum-configuration</id>
    <name>Fulcrum Configuration Component</name>
    <currentVersion>1.0-alpha-1</currentVersion>
  
    <dependencies>
      <dependency>
        <id>commons-configuration</id>
        <version>20030706.202021</version>
        <url>http://jakarta.apache.org/commons/sandbox/configuration/index.html</url>
      </dependency>
     <dependency>
        <id>dom4j</id>
        <version>1.3</version>
        <properties>        
          <war.bundle.jar>true</war.bundle.jar>
        </properties>            
      </dependency>
      <dependency>
        <id>commons-digester</id>      
        <version>1.5</version>
        <properties>        
          <war.bundle.jar>true</war.bundle.jar>
        </properties>            
      </dependency>                    
      <dependency>
        <id>commons-beanutils</id>      
        <version>1.7-dev</version>
        <properties>        
          <war.bundle.jar>true</war.bundle.jar>
        </properties>            
      </dependency>       
      <!--  Needed only for testing -->
      <dependency>
        <groupId>fulcrum</groupId>    
        <artifactId>fulcrum-testcontainer</artifactId>
        <version>1.0-alpha-1</version>
      </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>
  
    </dependencies>
  
  
    <unitTest>
     <resources>      
        <resource>       
          <includes>
            <include>*.xml</include>
          </includes>
        </resource>          
      </resources>      
    </unitTest>
  
  </project>
  
  
  
  
  1.1                  jakarta-turbine-fulcrum/configuration/project.properties
  
  Index: project.properties
  ===================================================================
  
  
  
  

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