You can subscribe to this list here.
2003 |
Jan
|
Feb
(14) |
Mar
(107) |
Apr
(211) |
May
(93) |
Jun
(158) |
Jul
(159) |
Aug
(368) |
Sep
(188) |
Oct
(151) |
Nov
(115) |
Dec
(98) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(25) |
Feb
|
Mar
(33) |
Apr
(28) |
May
(116) |
Jun
(2) |
Jul
(117) |
Aug
(19) |
Sep
(9) |
Oct
(2) |
Nov
|
Dec
(4) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(9) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
(22) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(267) |
Sep
|
Oct
|
Nov
(6) |
Dec
(512) |
2008 |
Jan
(187) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Santi B. <san...@us...> - 2008-01-12 00:46:41
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23392/modules/syndication Added Files: build.properties build.xml .cvsignore Log Message: Syndication module added. Documentation start updating process. --- NEW FILE: .cvsignore --- build --- NEW FILE: build.xml --- <project name="syndication" basedir="." default="build"> <property file="build.properties"/> <property name="module_name" value="babeldoc_${Module}"/> <property name="module_path" value="./build"/> <property name="base_dir" value="${basedir}"/> <property name="babeldoc_home" value="${babeldoc_home}"/> <target name="setup"> <mkdir dir="./build"/> <mkdir dir="./build/lib"/> <mkdir dir="./build/examples"/> <mkdir dir="./build/readme"/> <mkdir dir="./build/support"/> </target> <target name="clean"> <echo message="Cleaning ${Module}"/> <delete dir="${build}"/> </target> <target name="build"> <echo message="Building ${Module}"/> <mkdir dir="${module_path}"/> <javac destdir="${module_path}" srcdir="./src" deprecation="${compile.deprecation}" debug="${compile.debug}"> <classpath> <fileset dir="lib"> <include name="*"/> </fileset> <fileset dir="${base_dir}/build/lib"> <include name="*.jar"/> </fileset> <fileset dir="lib"> <include name="*.jar"/> </fileset> <pathelement location="${base_dir}/support/ant/lib/junit.jar"/> </classpath> </javac> <!-- Copy the configuration files to build/syndication/... --> <mkdir dir="${module_path}/${Module}"/> <copy toDir="${module_path}/${Module}"> <fileset dir="config"> <include name="*/**"/> </fileset> </copy> <!-- copy over the services file --> <mkdir dir="${module_path}/META-INF/services"/> <copy toDir="${module_path}/META-INF/services"> <fileset dir="services"/> </copy> <jar jarfile="${base_dir}/build/lib/${Jarfile}" basedir="${module_path}" excludes="**/${Jarfile}"> <manifest> <attribute name="Built-By" value="${user.name}"/> <section name="Babeldoc"> <attribute name="Module" value="${Module}"/> <attribute name="Depends" value="${Depends}"/> <attribute name="ModuleClass" value="${ModuleClass}"/> </section> </manifest> </jar> <copy toDir="${base_dir}/build"> <fileset dir="."> <include name="examples/**"/> <include name="lib/**"/> </fileset> </copy> </target> <target name="deploy"> <echo message="Deploying ${Module}"/> </target> <target name="test"> <echo message="Testing ${Module}"/> </target> <target name="format"> <!-- <echo message="Formatting ${Module}"/> <jalopy fileformat="${jalopy.fileformat}" convention="${jalopy.convention}" history="${jalopy.history}" loglevel="${jalopy.loglevel}" threads="${jalopy.threads}"> <fileset dir="./src"> <include name="**/*.java" /> </fileset> </jalopy> --> </target> </project> --- NEW FILE: build.properties --- Module=syndication Depends=core Jarfile=babeldoc_syndication.jar ModuleClass=com.babeldoc.syndication.module.SyndicationModule #babeldoc_home=../babeldoc/build #custom = true |
From: Santi B. <san...@us...> - 2008-01-12 00:46:41
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication/module In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23392/modules/syndication/src/com/babeldoc/syndication/module Added Files: SyndicationModule.java Log Message: Syndication module added. Documentation start updating process. --- NEW FILE: SyndicationModule.java --- /** * */ package com.babeldoc.syndication.module; import java.util.HashSet; import java.util.Set; import com.babeldoc.core.module.BabeldocModule; /** * @author santi * */ public class SyndicationModule extends BabeldocModule { public static final String MODULE = "syndication"; /* * (non-Javadoc) * * @see com.babeldoc.core.module.BabeldocModule#getDependsOn() */ @Override public Set getDependsOn() { Set set = new HashSet(); set.add("core"); return set; } /* * (non-Javadoc) * * @see com.babeldoc.core.module.BabeldocModule#getName() */ @Override public String getName() { return MODULE; } } |
From: Santi B. <san...@us...> - 2008-01-12 00:46:41
|
Update of /cvsroot/babeldoc/babeldoc/readme In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23392/readme Modified Files: AUTHORS userguide.xml ChangeLog Log Message: Syndication module added. Documentation start updating process. Index: ChangeLog =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/readme/ChangeLog,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ChangeLog 3 Dec 2007 16:37:20 -0000 1.7 --- ChangeLog 12 Jan 2008 00:46:44 -0000 1.8 *************** *** 1,5 **** 2007-02-03 - Activate RMI scanner (babeldoc scanmon) ! - Create Scanner controler 2007-11-12 * ChangeLog: --- 1,5 ---- 2007-02-03 - Activate RMI scanner (babeldoc scanmon) ! - Create Scanner controller 2007-11-12 * ChangeLog: Index: AUTHORS =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/readme/AUTHORS,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AUTHORS 9 May 2003 20:00:27 -0000 1.3 --- AUTHORS 12 Jan 2008 00:46:44 -0000 1.4 *************** *** 7,8 **** --- 7,11 ---- Ken Geis Robert Fuller <ful...@ya...> + Santiago Begué <sa...@nu...> + Pascual Puyol <pa...@ho...> + José Manuel Enriquez <jme...@ho...> \ No newline at end of file Index: userguide.xml =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/readme/userguide.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** userguide.xml 14 Apr 2004 20:13:41 -0000 1.6 --- userguide.xml 12 Jan 2008 00:46:44 -0000 1.7 *************** *** 21,28 **** <author> <firstname>Bruce</firstname> <surname>McDonald</surname> </author> <author> <firstname>Dejan</firstname> <surname>Krsmanovic</surname> </author> </authorgroup> <copyright> ! <year>2002, 2003</year> ! <holder>Bruce McDonald, Dejan Krsmanovic</holder> </copyright> </bookinfo> --- 21,29 ---- <author> <firstname>Bruce</firstname> <surname>McDonald</surname> </author> <author> <firstname>Dejan</firstname> <surname>Krsmanovic</surname> </author> + <author> <firstname>Santiago</firstname> <surname>Begué</surname> </author> </authorgroup> <copyright> ! <year>2002, 2003, 2008</year> ! <holder>Bruce McDonald, Dejan Krsmanovic, Santiago Begué</holder> </copyright> </bookinfo> |
From: Santi B. <san...@us...> - 2008-01-12 00:46:40
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/lib In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23392/modules/syndication/lib Added Files: rome-0.9.jar jdom.jar Log Message: Syndication module added. Documentation start updating process. --- NEW FILE: rome-0.9.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jdom.jar --- (This appears to be a binary file; contents omitted.) |
From: Santi B. <san...@us...> - 2008-01-12 00:46:40
|
Update of /cvsroot/babeldoc/babeldoc/readme/schema In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23392/readme/schema Modified Files: scanner.xsd Log Message: Syndication module added. Documentation start updating process. Index: scanner.xsd =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/readme/schema/scanner.xsd,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** scanner.xsd 24 Feb 2003 22:50:25 -0000 1.1.1.1 --- scanner.xsd 12 Jan 2008 00:46:44 -0000 1.2 *************** *** 10,23 **** --> <xs:simpleType name="TScannerThreadType"> ! <xs:annotation> ! <xs:documentation> ! Defines the scanner thread types. ! </xs:documentation> ! </xs:annotation> ! <xs:restriction base="xs:string"> ! <xs:enumeration value="directory"/> ! <xs:enumeration value="jms"/> ! <xs:enumeration value="smtp"/> ! </xs:restriction> </xs:simpleType> <!-- --- 10,29 ---- --> <xs:simpleType name="TScannerThreadType"> ! <xs:annotation> ! <xs:documentation> ! Defines the scanner thread types. ! </xs:documentation> ! </xs:annotation> ! <xs:restriction base="xs:string"> ! <xs:enumeration value="directory" /> ! <xs:enumeration value="jms" /> ! <xs:enumeration value="mailbox" /> ! <xs:enumeration value="ftp"></xs:enumeration> ! <xs:enumeration value="sql"></xs:enumeration> ! <xs:enumeration value="application"></xs:enumeration> ! <xs:enumeration value="http"></xs:enumeration> ! <xs:enumeration value="null"></xs:enumeration> ! <xs:enumeration value="virtualfs"></xs:enumeration> ! </xs:restriction> </xs:simpleType> <!-- |
From: Santi B. <san...@us...> - 2008-01-12 00:36:08
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication/pipeline/stage In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/src/com/babeldoc/syndication/pipeline/stage Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication/pipeline/stage added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:08
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/config In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/config Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/config added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:08
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src/com In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/src/com Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/src/com added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:07
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/config/service In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/config/service Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/config/service added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:07
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/src/com/babeldoc Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:07
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/config/i18n In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/config/i18n Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/config/i18n added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:07
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/lib In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/lib Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/lib added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:07
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication/pipeline In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/src/com/babeldoc/syndication/pipeline Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication/pipeline added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:06
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/services In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/services Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/services added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:05
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/src/com/babeldoc/syndication Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication/module In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/src/com/babeldoc/syndication/module Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/src/com/babeldoc/syndication/module added to the repository |
From: Santi B. <san...@us...> - 2008-01-12 00:36:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/syndication/src In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19318/modules/syndication/src Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/syndication/src added to the repository |
From: paspes <pa...@us...> - 2008-01-11 13:21:59
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/config/i18n In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14140/modules/core/config/i18n Modified Files: messages.properties Log Message: Add VFS Pipeline Stage Index: messages.properties =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/config/i18n/messages.properties,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** messages.properties 18 Dec 2007 10:04:42 -0000 1.32 --- messages.properties 11 Jan 2008 12:03:47 -0000 1.33 *************** *** 401,404 **** --- 401,412 ---- core.pipeline.stage.reader.opt.file=The filename or URL to the object to read. + core.pipeline.stage.vfsreader.description=Load the contents of the file, completely overwriting the current document's contents with the file's contents. + core.pipeline.stage.vfsreader.opt.file=The filename or URL to the object to read. + core.pipeline.stage.vfsreader.opt.domain=Domain of username that is used for connecting + core.pipeline.stage.vfsreader.opt.username=Username that is used for connecting + core.pipeline.stage.vfsreader.opt.password=Password that is used for connecting + + + core.pipeline.stageinfo.stageType=Type of pipeline stage core.pipeline.stageinfo.nextStage=Name of the next stage in pipeline or null if this is the last stage. |
From: paspes <pa...@us...> - 2008-01-11 12:06:55
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14140/modules/core/src/com/babeldoc/core/pipeline/stage Added Files: VFSReaderPipelineStage.java Log Message: Add VFS Pipeline Stage --- NEW FILE: VFSReaderPipelineStage.java --- /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 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" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact ap...@ap.... * * 5. Products derived from this software may not be called "Apache", * 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/>. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. * ==================================================================== * * Babeldoc: The Universal Document Processor * * $Header: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/VFSReaderPipelineStage.java,v 1.1 2008/01/11 12:03:46 paspes Exp $ * $DateTime$ * $Author: paspes $ * */ package com.babeldoc.core.pipeline.stage; import com.babeldoc.core.LogService; import com.babeldoc.core.ResourceLoader; import com.babeldoc.core.I18n; import com.babeldoc.core.option.ConfigOption; import com.babeldoc.core.option.IConfigOptionType; import com.babeldoc.core.pipeline.*; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import org.apache.commons.vfs.FileContent; import org.apache.commons.vfs.FileObject; import org.apache.commons.vfs.FileSystemException; import org.apache.commons.vfs.FileSystemManager; import org.apache.commons.vfs.FileSystemOptions; import org.apache.commons.vfs.FileType; import org.apache.commons.vfs.VFS; import org.apache.commons.vfs.auth.StaticUserAuthenticator; import org.apache.commons.vfs.impl.DefaultFileSystemConfigBuilder; /** * The reader pipeline stage loads the file (or object) from the filename (could also * be a URL) into the current document, completely overwriting it. * * @author bmcdonald * @version 1.1 */ public class VFSReaderPipelineStage extends PipelineStage { private LogService log = LogService.getInstance(this.getClass().getName()); /** file configuration option. */ public static final String FILE = "file"; public static final String DOMAIN = "domain"; public static final String USERNAME = "username"; public static final String PASSWORD = "password"; /** construct with this stages info. */ public VFSReaderPipelineStage() { super(new PipelineStageInfo() { public String getName() { return "VFSReader"; } public String getDescription() { return I18n.get("core.pipeline.stage.vfsreader.description"); } public Collection getTypeSpecificOptions() { Collection options = new ArrayList(); options.add(new ConfigOption(FILE, IConfigOptionType.URL, null, true, I18n.get("core.pipeline.stage.vfsreader.opt.file"))); options.add(new ConfigOption(DOMAIN, IConfigOptionType.STRING, null, false, I18n.get("core.pipeline.stage.vfsreader.opt.domain"))); options.add(new ConfigOption(USERNAME, IConfigOptionType.STRING, null, false, I18n.get("core.pipeline.stage.vfsreader.opt.username"))); options.add(new ConfigOption(PASSWORD, IConfigOptionType.STRING, null, false, I18n.get("core.pipeline.stage.vfsreader.opt.password"))); return options; } }); } /** * Method that access to file * @return fileobject * @throws PipelineException */ private FileObject getFileObject(String filename) throws PipelineException { try{ //Acces to file FileSystemManager fsManager = VFS.getManager(); if(log.isDebugEnabled()){ log.logDebug("Authentication info, domain:" + this.getOptions(DOMAIN) + " username:" + this.getOptions(USERNAME) + " password:" + this.getOptions(PASSWORD)); } StaticUserAuthenticator auth = new StaticUserAuthenticator( this.getOptions(DOMAIN), this.getOptions(USERNAME), this.getOptions(PASSWORD)); FileSystemOptions opts = new FileSystemOptions(); DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, auth); FileObject file = fsManager.resolveFile(filename,opts); if (!file.exists() || !file.isReadable() || file.getType() != FileType.FILE) { throw new PipelineException("File not accesible:" + filename); } return file; } catch (FileSystemException fse) { throw new PipelineException("", fse); } } /** * pipeline stage. * * @return array of results * @throws PipelineException */ public PipelineStageResult[] process() throws PipelineException { String filename = this.getOptions(FILE); if(log.isDebugEnabled()) log.logDebug("Loading filename: "+filename); if(filename!=null) { try { FileObject file = getFileObject(filename); //Read file (getting message from file) FileContent fileContent = file.getContent(); byte[] data = new byte[1024]; InputStream fis = fileContent.getInputStream(); ByteArrayOutputStream baos = new ByteArrayOutputStream((int) fileContent.getSize()); int charsRead = 0; while ((charsRead = fis.read(data)) != -1) { baos.write(data, 0, charsRead); } //creat new pipeline document PipelineDocument newDoc = new PipelineDocument(this.getDocument(), baos.toByteArray()); newDoc.setMimeType(PipelineDocument.getMimeTypeForFile(filename)); newDoc.put(PipelineDocument.NAME, filename); return super.processHelper(newDoc); } catch (FileSystemException fse) { throw new PipelineException("", fse); } catch (IOException ioe) { throw new PipelineException("", ioe); } } return super.processHelper(); } } |
From: paspes <pa...@us...> - 2008-01-11 12:04:27
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/config/service In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14140/modules/core/config/service Modified Files: query.properties Log Message: Add VFS Pipeline Stage Index: query.properties =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/config/service/query.properties,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** query.properties 18 Dec 2007 10:04:42 -0000 1.14 --- query.properties 11 Jan 2008 12:03:47 -0000 1.15 *************** *** 22,25 **** --- 22,26 ---- PipelineStage.JournalUpdate=com.babeldoc.core.pipeline.stage.JournalUpdatePipelineStage PipelineStage.Reader=com.babeldoc.core.pipeline.stage.ReaderPipelineStage + PipelineStage.VFSReader=com.babeldoc.core.pipeline.stage.VFSReaderPipelineStage PipelineStage.EncodingConversion=com.babeldoc.core.pipeline.stage.EncodingConversionPipelineStage PipelineStage.XmlToSql=com.babeldoc.core.pipeline.stage.XmlToSqlPipelineStage |
From: paspes <pa...@us...> - 2008-01-09 13:11:57
|
Update of /cvsroot/babeldoc/babeldoc/modules/init/src/com/babeldoc/init In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23061/modules/init/src/com/babeldoc/init Modified Files: Main.java Log Message: Multiple directories into babeldocUser Index: Main.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/init/src/com/babeldoc/init/Main.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Main.java 7 Jan 2008 09:36:59 -0000 1.11 --- Main.java 9 Jan 2008 13:10:30 -0000 1.12 *************** *** 129,135 **** if (user != null) { ! File fileUser = new File(user); ! if (fileUser.exists() && fileUser.isDirectory()) { ! filesUser = getLibraryFiles(user); } } --- 129,141 ---- if (user != null) { ! String[] userDirs = user.split(";");//Multiple path ! for(int i=0; i<userDirs.length;i++){ ! File[] filesUserTmp = null; ! File fileUser = new File(userDirs[i]); ! ! if (fileUser.exists() && fileUser.isDirectory()) { ! filesUserTmp = getLibraryFiles(userDirs[i]); ! filesUser = copyTo(filesUser,filesUserTmp); ! } } } *************** *** 200,216 **** } if (user != null) { ! File fileUser = new File(user); ! ! if (fileUser.exists() && fileUser.isDirectory()) { ! filesUser = getLibraryFiles(user); } } files = copyTo(filesHome, filesUser); ! /* for(int i=0; i<files.length;i++){ System.out.println(files[i].getAbsoluteFile()); } ! */ if(files!=null){ --- 206,227 ---- } if (user != null) { ! String[] userDirs = user.split(";");//Multiple path ! for(int i=0; i<userDirs.length;i++){ ! File[] filesUserTmp = null; ! File fileUser = new File(userDirs[i]); ! ! if (fileUser.exists() && fileUser.isDirectory()) { ! filesUserTmp = getLibraryFiles(userDirs[i]); ! filesUser = copyTo(filesUser,filesUserTmp); ! } } } files = copyTo(filesHome, filesUser); ! for(int i=0; i<files.length;i++){ System.out.println(files[i].getAbsoluteFile()); } ! if(files!=null){ |
From: paspes <pa...@us...> - 2008-01-09 13:11:29
|
Update of /cvsroot/babeldoc/babeldoc/modules/init/src/com/babeldoc/init In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23460/modules/init/src/com/babeldoc/init Modified Files: Main.java Log Message: Multiple directories into babeldocUser Index: Main.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/init/src/com/babeldoc/init/Main.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Main.java 9 Jan 2008 13:10:30 -0000 1.12 --- Main.java 9 Jan 2008 13:11:33 -0000 1.13 *************** *** 220,226 **** --- 220,228 ---- files = copyTo(filesHome, filesUser); + /* for(int i=0; i<files.length;i++){ System.out.println(files[i].getAbsoluteFile()); } + */ |
From: paspes <pa...@us...> - 2008-01-09 10:45:42
|
Update of /cvsroot/babeldoc/babeldoc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32736 Modified Files: .classpath Log Message: Change local path Index: .classpath =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/.classpath,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** .classpath 8 Jan 2008 23:23:33 -0000 1.10 --- .classpath 9 Jan 2008 10:44:04 -0000 1.11 *************** *** 16,24 **** <classpathentry kind="src" path="modules/sql/src"/> <classpathentry kind="src" path="modules/jabber/src"/> - <classpathentry kind="lib" path="C:/babeldoc_1.3.1/support/ant/lib/ant.jar"/> - <classpathentry kind="lib" path="C:/babeldoc_1.3.1/support/ant/lib/junit.jar"/> - <classpathentry kind="lib" path="C:/babeldoc_1.3.1/support/ant/lib/optional.jar"/> - <classpathentry kind="lib" path="C:/babeldoc_1.3.1/support/ant/lib/xercesImpl.jar"/> - <classpathentry kind="lib" path="C:/babeldoc_1.3.1/support/ant/lib/xml-apis.jar"/> <classpathentry kind="lib" path="support/jalopy/lib/aelfred-1.2.jar"/> <classpathentry kind="lib" path="support/jalopy/lib/jalopy-1.0b10.jar"/> --- 16,19 ---- *************** *** 80,83 **** --- 75,83 ---- <classpathentry kind="lib" path="modules/core/lib/xml-apis.jar"/> <classpathentry kind="lib" path="modules/core/lib/xmlsec.jar"/> + <classpathentry kind="lib" path="support/ant/lib/ant.jar"/> + <classpathentry kind="lib" path="support/ant/lib/junit.jar"/> + <classpathentry kind="lib" path="support/ant/lib/optional.jar"/> + <classpathentry kind="lib" path="support/ant/lib/xml-apis.jar"/> + <classpathentry kind="lib" path="support/ant/lib/xercesImpl.jar"/> <classpathentry kind="output" path="bin"/> </classpath> |
From: paspes <pa...@us...> - 2008-01-09 09:57:15
|
Update of /cvsroot/babeldoc/babeldoc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13839 Modified Files: .cvsignore Log Message: Index: .cvsignore =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** .cvsignore 10 Dec 2007 00:27:18 -0000 1.6 --- .cvsignore 9 Jan 2008 09:55:44 -0000 1.7 *************** *** 2,3 **** --- 2,4 ---- babeldoc-bin-1.3.1.zip babeldoc-src-1.3.1.zip + .cdtproject |