Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 33285 invoked by uid 500); 7 Jan 2003 13:36:58 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 33276 invoked by uid 500); 7 Jan 2003 13:36:58 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 7 Jan 2003 13:36:57 -0000 Message-ID: <20030107133657.19413.qmail@icarus.apache.org> From: cziegeler@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/mail MailAction.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cziegeler 2003/01/07 05:36:57 Modified: . changes.xml build.xml src/scratchpad/src/org/apache/cocoon/mail MailAction.java Added: tools/lib ant-contrib-0.1.jar legal LICENSE.ant-contrib Log: Added ant-contrib library with some optional ant tasks and started cleaning up the build system. (Ok, for now the build system looks more ugly, but you can now e.g. leave out the scratchpad stuff by changing the properties and avoid the compilation problems - more will follow) Revision Changes Path 1.330 +5 -1 xml-cocoon2/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/changes.xml,v retrieving revision 1.329 retrieving revision 1.330 diff -u -r1.329 -r1.330 --- changes.xml 6 Jan 2003 15:21:24 -0000 1.329 +++ changes.xml 7 Jan 2003 13:36:56 -0000 1.330 @@ -40,6 +40,10 @@ + + Added ant-contrib library with some optional ant tasks and started cleaning + up the build system. + ZipArchiveSerializer now accepts inline content for entries of the zip archive and not only source URLs. 1.301 +131 -95 xml-cocoon2/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/build.xml,v retrieving revision 1.300 retrieving revision 1.301 diff -u -r1.300 -r1.301 --- build.xml 2 Jan 2003 22:53:41 -0000 1.300 +++ build.xml 7 Jan 2003 13:36:56 -0000 1.301 @@ -262,6 +262,9 @@ + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1114,29 +1125,33 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -1197,11 +1212,16 @@ - - - - - + + + + + + + + + + @@ -1430,34 +1450,40 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1536,18 +1562,28 @@ - - - - - - - - + + + + + + + + + + + + + - + + + + + + 1.1 xml-cocoon2/tools/lib/ant-contrib-0.1.jar <> 1.1 xml-cocoon2/legal/LICENSE.ant-contrib Index: LICENSE.ant-contrib =================================================================== /* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 Ant-Contrib project. 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 * Ant-Contrib project (http://sourceforge.net/projects/ant-contrib)." * Alternately, this acknowlegement may appear in the software itself, * if and wherever such third-party acknowlegements normally appear. * * 4. The name Ant-Contrib must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact * ant-contrib-developers@lists.sourceforge.net. * * 5. Products derived from this software may not be called "Ant-Contrib" * nor may "Ant-Contrib" appear in their names without prior written * permission of the Ant-Contrib project. * * 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 ANT-CONTRIB PROJECT 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. * ==================================================================== */ 1.2 +4 -30 xml-cocoon2/src/scratchpad/src/org/apache/cocoon/mail/MailAction.java Index: MailAction.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/mail/MailAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MailAction.java 6 Jan 2003 21:51:20 -0000 1.1 +++ MailAction.java 7 Jan 2003 13:36:57 -0000 1.2 @@ -53,57 +53,31 @@ * . */ package org.apache.cocoon.mail; -import java.io.IOException; - import java.text.SimpleDateFormat; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; -import java.util.Map; -import java.util.Properties; import java.util.Properties; + import javax.mail.Folder; import javax.mail.Message; -import javax.mail.MessagingException; import javax.mail.Provider; import javax.mail.Store; import javax.mail.URLName; -import javax.servlet.http.HttpSessionBindingEvent; -import javax.servlet.http.HttpSessionBindingListener; -//import javax.mail.Session; -import org.apache.avalon.framework.activity.Disposable; -import org.apache.avalon.framework.activity.Initializable; -import org.apache.avalon.framework.component.ComponentException; -import org.apache.avalon.framework.component.ComponentManager; -import org.apache.avalon.framework.context.Context; + import org.apache.avalon.framework.context.ContextException; -import org.apache.avalon.framework.context.Contextualizable; -import org.apache.avalon.framework.context.DefaultContext; -import org.apache.avalon.framework.logger.LogEnabled; -import org.apache.avalon.framework.logger.LogEnabled; import org.apache.avalon.framework.logger.Logger; -import org.apache.avalon.framework.logger.Logger; -import org.apache.avalon.framework.parameters.Parameters; import org.apache.avalon.framework.parameters.Parameters; import org.apache.avalon.framework.thread.ThreadSafe; -import org.apache.cocoon.Constants; import org.apache.cocoon.ProcessingException; import org.apache.cocoon.acting.ComposerAction; import org.apache.cocoon.environment.ObjectModelHelper; -import org.apache.cocoon.environment.ObjectModelHelper; import org.apache.cocoon.environment.Redirector; import org.apache.cocoon.environment.Request; -import org.apache.cocoon.environment.Request; -import org.apache.cocoon.environment.Session; import org.apache.cocoon.environment.Session; -import org.apache.cocoon.environment.SourceResolver; -import org.apache.cocoon.environment.SourceResolver; -import org.apache.cocoon.generation.ComposerGenerator; import org.apache.cocoon.mail.command.AbstractMailCommand; -import org.apache.cocoon.util.NetUtils; -import org.apache.excalibur.source.Source; -import org.xml.sax.SAXException; +import org.apache.excalibur.source.SourceResolver; /** * This action ... ---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org