geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/specs/javamail/src/resources/META-INF javamail.default.address.map javamail.default.providers
Date Wed, 27 Aug 2003 11:24:52 GMT
jdillon     2003/08/27 04:24:52

  Added:       modules/mail LICENSE.txt README.txt maven.xml project.xml
               modules/mail/src/resources/META-INF
                        javamail.default.address.map
                        javamail.default.providers
  Removed:     specs/javamail/src/resources/META-INF
                        javamail.default.address.map
                        javamail.default.providers
  Log:
   o Applied patch GERONIMO-18 by Alex Blewitt
  
  Revision  Changes    Path
  1.1                  incubator-geronimo/modules/mail/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  /* ====================================================================
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 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 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 Geronimo" 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 Geronimo", 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                  incubator-geronimo/modules/mail/README.txt
  
  Index: README.txt
  ===================================================================
  Apache JavaMail Implementation 1.4
  ==================================
  
  These classes are based on the JavaMail Specification taken from J2EE 1.4 API
  documentation and on the JavaMail 1.3 specification PDF.
  
  The classes represent the JavaMail API and contain implementations of the 
  classes found in the javax.mail packages. In order to function correctly,
  these classes require:
  
  o The Java Activation Framework (JAF) in javax.activation
  o The JavaMail API (JavaMail) in javax.mail
  o Java 2 (Java 1.2 or later)
  
  See
    http://java.sun.com/products/javamail/
    http://java.sun.com/j2ee/1.4/docs/api/
  
  for more information on how to use JavaMail to send messages.
  
  Configuration
  -------------
  
  The JavaMail spec defines the following configuration files:
  
  javamail.providers [Defines which classes are used to map to protocols]
  javamail.address.map [Defines which message types (rfc822, news) map to protocols]
  
  They need to be in the CLASSPATH (or in a Jar) in a directory /META-INF/
  e.g. c:\mymail\META-INF\javamail.providers
  
  Providers
  ---------
  Provides a protocol, along with its implementation and whether it is a store
  or a transport (subclass of javax.mail.Store or javax.mail.Transport)
  
  protocol=smtp;type=transport;class=org.me.MySMTPTransport;vendor=Me Inc;version=1.0
  protocol=imap;type=store;class=org.me.MyIMAPStore;vendor=Me Inc;version=1.0
  
  Address Map
  -----------
  
  Contains entries in 'name=value' format:
  rfc822=smtp
  news=nntp
  
  Default
  =======
  
  To ensure that other files can be extended at a later stage, the JavaMail
  spec defines three locations for these files:
  
  $JAVA_HOME\lib\javamail.properties
  META-INF\javamail.properties
  META-INF\javamail.default.properties
  
  The files are located in that order and overwrite whatever the previous
  version contained, so if 'smtp' is defined in javamail.properties and
  javamail.default.properties, it will use the one from javamail.default.properties
  
  
  
  1.1                  incubator-geronimo/modules/mail/maven.xml
  
  Index: maven.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!-- $Revision: 1.1 $ $Date: 2003/08/27 11:24:51 $ -->
  
  <project default="default"
    xmlns:j="jelly:core"
    xmlns:ant="jelly:ant">
    
    <preGoal name="xdoc:jelly-transform">
      <attainGoal name="html2xdoc"/>
    </preGoal>
    
  </project>
  
  
  
  1.1                  incubator-geronimo/modules/mail/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!-- $Revision: 1.1 $ $Date: 2003/08/27 11:24:51 $ -->
  
  <project>
    <pomVersion>3</pomVersion>
    <extend>${basedir}/../../etc/project.xml</extend>
    
    <name>Geronimo :: JavaMail Implementation</name>
    <id>geronimo-mail</id>
    <shortDescription>
      These classes represent the Apache implementation of the
      API of the JavaMail Specification,
      taken from J2EE 1.4 API documentation and on the JavaMail 1.3
      specification PDF.
    </shortDescription>
    <description>
      The JavaMail API allows programs to send mail messages and to be able to
      interrogate a remote mail store (e.g. POP/IMAP inbox) for the message
      location. This provides only the implementation of the  API; there are no
      API classes (you may use the Sun RI, or the geronimo-spec-javamail ones).
    </description>
    <siteDirectory></siteDirectory>
    <distributionDirectory></distributionDirectory>
    
    <package>org.apache.geronimo.mail</package>
    <currentVersion>DEV</currentVersion>
    
    <!-- ============ -->
    <!-- Dependencies -->
    <!-- ============ -->
    
    <dependencies>
      
      <!-- Module Dependencies -->
      
      <dependency>
        <groupId>geronimo-spec</groupId>
        <artifactId>geronimo-spec-activation</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
      
      <dependency>
        <groupId>geronimo-spec</groupId>
        <artifactId>geronimo-spec-mail</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
      
    </dependencies>
    
  </project>
  
  
  
  1.1                  incubator-geronimo/modules/mail/src/resources/META-INF/javamail.default.address.map
  
  Index: javamail.default.address.map
  ===================================================================
  # This file configures the default behaviour of JavaMail. DO NOT EDIT.
  # Create a new file /META-INF/javamail.address.map and put
  # the same format lines in there.
  #
  # Note that you can't override these defaults, merely add to them.
  #
  # $Revision: 1.1 $ $Date: 2003/08/27 11:24:51 $
  #
  rfc822=smtp
  news=nntp
  
  
  
  1.1                  incubator-geronimo/modules/mail/src/resources/META-INF/javamail.default.providers
  
  Index: javamail.default.providers
  ===================================================================
  # This file configures the default behaviour of JavaMail. DO NOT EDIT.
  # Create a new file /META-INF/javamail.providers and put
  # the same format lines in there.
  #
  # Note that you can't override these defaults, merely add to them.
  #
  # $Revision: 1.1 $ $Date: 2003/08/27 11:24:51 $
  #
  protocol=imap; type=store; class=org.apache.geronimo.mail.imap.IMAPStore; vendor=Apache
Software Foundation; version=1.0
  protocol=pop3; type=store; class=org.apache.geronimo.mail.pop3.POP3Store; vendor=Apache
Software Foundation; version=1.0
  protocol=pop; type=store; class=org.apache.geronimo.mail.pop3.POP3Store; vendor=Apache Software
Foundation; version=1.0
  protocol=smtp; type=transport; class=org.apache.geronimo.mail.smtp.SMTPTransport; vendor=Apache
Software Foundation; version=1.0
  protocol=nntp; type=transport; class=org.apache.geronimo.mail.nntp.NNTPTransport; vendor=Apache
Software Foundation; version=1.0
  
  
  

Mime
View raw message